November 23, 2024, 03:14:47 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Apache server how to help me  (Read 7126 times)

Offline segun1ng

  • Linux Noob !
  • *
  • Posts: 25
Apache server how to help me
« on: November 22, 2003, 05:14:28 PM »
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.

Thanks.




ServerType standalone
ServerRoot /etc/httpd


PidFile /var/run/httpd.pid
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/mod_env.so
LoadModule config_log_module  modules/mod_log_config.so
LoadModule agent_log_module   modules/mod_log_agent.so
LoadModule referer_log_module modules/mod_log_referer.so

LoadModule mime_module        modules/mod_mime.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule status_module      modules/mod_status.so
LoadModule info_module        modules/mod_info.so
LoadModule includes_module    modules/mod_include.so
LoadModule autoindex_module   modules/mod_autoindex.so
LoadModule dir_module         modules/mod_dir.so
LoadModule cgi_module         modules/mod_cgi.so
LoadModule asis_module        modules/mod_asis.so
LoadModule imap_module        modules/mod_imap.so
LoadModule action_module      modules/mod_actions.so

LoadModule userdir_module     modules/mod_userdir.so
LoadModule proxy_module       modules/libproxy.so
LoadModule alias_module       modules/mod_alias.so
LoadModule rewrite_module     modules/mod_rewrite.so
LoadModule access_module      modules/mod_access.so
LoadModule auth_module        modules/mod_auth.so
LoadModule anon_auth_module   modules/mod_auth_anon.so


LoadModule digest_module      modules/mod_digest.so

LoadModule expires_module     modules/mod_expires.so
LoadModule headers_module     modules/mod_headers.so
LoadModule usertrack_module   modules/mod_usertrack.so


LoadModule setenvif_module    modules/mod_setenvif.so
LoadModule vhost_alias_module   modules/mod_vhost_alias.so




ClearModuleList

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











<IfDefine APACHEPROXIED>
    Port 8080
    Listen 8080
</IfDefine>
<IfDefine !APACHEPROXIED>
    Port 80
    Listen 80
</IfDefine>










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







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

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
Apache server how to help me
« Reply #1 on: February 20, 2004, 04:01:29 PM »
Are u using a proxy here?