Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 07-13-2012, 12:42 PM   #1
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
Ray, Apache guru

Which modeles do you have in your config?

curious if i need to remove any, i stripped it down pretty much


LoadModule auth_basic_module libexec/apache22/mod_auth_basic.so
LoadModule authz_host_module libexec/apache22/mod_authz_host.so
LoadModule log_config_module libexec/apache22/mod_log_config.so
LoadModule autoindex_module libexec/apache22/mod_autoindex.so
LoadModule alias_module libexec/apache22/mod_alias.so
LoadModule vhost_alias_module libexec/apache22/mod_vhost_alias.so
LoadModule dir_module libexec/apache22/mod_dir.so
LoadModule rewrite_module libexec/apache22/mod_rewrite.so
LoadModule mime_module libexec/apache22/mod_mime.so
LoadModule unique_id_module libexec/apache22/mod_unique_id.so
LoadModule auth_token_module libexec/apache22/mod_auth_token.so
LoadModule php5_module libexec/apache22/libphp5.so
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-13-2012, 12:51 PM   #2
raymor
Confirmed User
 
Join Date: Oct 2002
Posts: 3,745
Looks pretty minimal to me. I'm assuming the last three are there because you're using them. If they aren't used, they can be commented out. PHP especially is a serious security consideration, but of course virtually everyone uses it. I'd not load it if it weren't used, but it's probably being used.


mod_vhost_alias is not what most people use. It's typically used when you have thousands of sites, so it can probably go.


You probably don't want mod_autoindex either. That's the module that lists files if you don't create an index page. It's a security concern and is often disabled via Options anyway.

Hmm, it occurs to me I've hacked or at least read all of those modules. I guess I've worked with most of the 300,000 plus lined of Apache code by now. Now I'm learning a new system that's 1.1 million lines of code.

Last edited by raymor; 07-13-2012 at 12:55 PM..
raymor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-13-2012, 12:53 PM   #3
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
Quote:
Originally Posted by raymor View Post
Looks pretty minimal to me. I'm assuming the last three are there because you're using them. If they aren't used, they can be commented out. PHP especially is a serious security consideration, but of course virtually everyone uses it. I'd not load it if it weren't used, but it's probably being used.


mod_vhost_alias is not what most people use. It's typically used when you have thousands of sites, so it can probably go.


You probably don't want mod_autoindex either. That's the module that lists files if you don't crate an index page. It's a security concern and is often disabled via Options anyway.
will i need alias then if i dont have autoindex?
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-13-2012, 12:57 PM   #4
raymor
Confirmed User
 
Join Date: Oct 2002
Posts: 3,745
Quote:
Originally Posted by fris View Post
will i need alias then if i dont have autoindex?

Yes, probably for ScriptAlias, used to set up cgi-bin.
__________________
For historical display only. This information is not current:
support@bettercgi.com ICQ 7208627
Strongbox - The next generation in site security
Throttlebox - The next generation in bandwidth control
Clonebox - Backup and disaster recovery on steroids
raymor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-13-2012, 01:02 PM   #5
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
Quote:
Originally Posted by raymor View Post
Yes, probably for ScriptAlias, used to set up cgi-bin.
ya i dont have cgi bin for any of the sites on the server, no scriptalias calls in httpd.conf
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-13-2012, 06:00 PM   #6
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Oh those poor souls whose still uses apache...
Klen is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-13-2012, 06:05 PM   #7
Vapid - BANNED FOR LIFE
Barterer
 
Industry Role:
Join Date: Aug 2004
Posts: 4,864
Apache is the only option in* some cases.

Last edited by Vapid - BANNED FOR LIFE; 07-13-2012 at 06:13 PM..
Vapid - BANNED FOR LIFE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-13-2012, 06:07 PM   #8
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by Terrorist View Post
Apache is the only option is some cases.
That's true,but in such cases i rather uses lower quality script then install apache just to use some script which dont work on other httpd servers.
Klen is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-13-2012, 06:16 PM   #9
Vapid - BANNED FOR LIFE
Barterer
 
Industry Role:
Join Date: Aug 2004
Posts: 4,864
Yes I have specifically avoided scripts that are apache dependent in the past.
Still if you want to proxy java for example, apache is your friend.
It's valuable in its versatility, but definitely bulky.
Vapid - BANNED FOR LIFE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-13-2012, 06:31 PM   #10
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by Terrorist View Post
Yes I have specifically avoided scripts that are apache dependent in the past.
Still if you want to proxy java for example, apache is your friend.
It's valuable in its versatility, but definitely bulky.
Not sure what exactly you reffer but i proxied nginx to java without problem(jira/confluence script)
Klen is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-13-2012, 06:37 PM   #11
raymor
Confirmed User
 
Join Date: Oct 2002
Posts: 3,745
Quote:
Originally Posted by Terrorist View Post
Yes I have specifically avoided scripts that are apache dependent in the past.
Still if you want to proxy java for example, apache is your friend.
It's valuable in its versatility, but definitely bulky.
Default configurations with everything but the kitchen sink certainly can be bulky. I think the smallest I've seen is 3MB on a box with 16MB RAM. Looks like Fris is shooting for around 12 MB unshared memory. I don't recall what PHP takes. I'd guess khttpd would be the slimmest, probably under a MB I'd guess.

Last edited by raymor; 07-13-2012 at 06:39 PM..
raymor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-13-2012, 06:47 PM   #12
Vapid - BANNED FOR LIFE
Barterer
 
Industry Role:
Join Date: Aug 2004
Posts: 4,864
Yep I'm going to trim it down here soon too. Running it on windows. It's solid software at that.
Vapid - BANNED FOR LIFE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.