Network Troublshooting > Linux Servers Support

Apache server how to help me


This is my appache server configuration, I want to be sure it's ok and how I can host sits step by step on how I can do that and allow people to host there own site on my server. I need all the steps.


ServerType standalone
ServerRoot /etc/httpd

PidFile /var/run/
ScoreBoardFile /etc/httpd/httpd.scoreboard
ErrorLog logs/error_log
LogLevel warn
ResourceConfig /dev/null
AccessConfig /dev/null
DocumentRoot /var/www/html

LoadModule env_module         modules/
LoadModule config_log_module  modules/
LoadModule agent_log_module   modules/
LoadModule referer_log_module modules/

LoadModule mime_module        modules/
LoadModule negotiation_module modules/
LoadModule status_module      modules/
LoadModule info_module        modules/
LoadModule includes_module    modules/
LoadModule autoindex_module   modules/
LoadModule dir_module         modules/
LoadModule cgi_module         modules/
LoadModule asis_module        modules/
LoadModule imap_module        modules/
LoadModule action_module      modules/

LoadModule userdir_module     modules/
LoadModule proxy_module       modules/
LoadModule alias_module       modules/
LoadModule rewrite_module     modules/
LoadModule access_module      modules/
LoadModule auth_module        modules/
LoadModule anon_auth_module   modules/

LoadModule digest_module      modules/

LoadModule expires_module     modules/
LoadModule headers_module     modules/
LoadModule usertrack_module   modules/

LoadModule setenvif_module    modules/
LoadModule vhost_alias_module   modules/


AddModule mod_env.c
AddModule mod_log_config.c
AddModule mod_log_agent.c
AddModule mod_log_referer.c

AddModule mod_mime.c
AddModule mod_negotiation.c
AddModule mod_status.c
AddModule mod_info.c
AddModule mod_include.c
AddModule mod_autoindex.c
AddModule mod_dir.c
AddModule mod_cgi.c
AddModule mod_asis.c
AddModule mod_imap.c
AddModule mod_actions.c

AddModule mod_userdir.c
AddModule mod_proxy.c
AddModule mod_alias.c
AddModule mod_rewrite.c
AddModule mod_access.c
AddModule mod_auth.c
AddModule mod_auth_anon.c

AddModule mod_digest.c

AddModule mod_expires.c
AddModule mod_headers.c
AddModule mod_usertrack.c

AddModule mod_so.c
AddModule mod_setenvif.c
AddModule mod_vhost_alias.c

Include conf/commonhttpd.conf

    Port 8080
    Listen 8080
    Port 80
    Listen 80

    RewriteEngine on
    RewriteRule ^proxy:.*  -  [F]
    RewriteRule ^(.*\/perl\/.*)$  http://%{HTTP_HOST}:8200$1 [P]
    RewriteRule ^(.*\/cgi-perl\/.*)$  http://%{HTTP_HOST}:8200$1 [P]

CustomLog logs/access_log combined env=!VLOG

CustomLog "|/usr/sbin/advxsplitlogfile" vhost env=VLOG

Include conf/vhosts/Vhosts.conf

Timeout 300

KeepAlive On

MaxKeepAliveRequests 100

KeepAliveTimeout 15

MinSpareServers 4
MaxSpareServers 10

StartServers 4

MaxClients 150

MaxRequestsPerChild 500

Include conf/mailman.conf

Are u using a proxy here?


[0] Message Index

Go to full version