[Wolves] httpd.conf

Simon C. Burke simonb at geek-web.co.uk
Fri Aug 22 10:31:53 UTC 2008


Hi guys again,

silly question again, thi sis on an older DeadRat box, (RHES) I have 
running.

I seem to be haivng ufn and games with apache2 though..

Could a kind person tell me if im missing osmething stupid in my 
httpd.conf?

Yes, I have replaced the ip with xxx.xxx.xxx.xxx in this e-mail so thats 
not the error.


ServerRoot "/usr/local/apache2"

Listen 193.63.235.72:80

LoadModule php5_module        modules/libphp5.so

<IfModule !mpm_netware_module>
User daemon
Group daemon
</IfModule>


ServerAdmin its-sys at rgu.ac.uk



DocumentRoot "/usr/local/apache2/htdocs"

<Directory />
     Options FollowSymLinks
     AllowOverride None
     Order deny,allow
     Deny from all
</Directory>


<Directory "/usr/local/apache2/htdocs">
     Options Indexes FollowSymLinks
     AllowOverride None
     Order allow,deny
     Allow from all

</Directory>

<IfModule dir_module>
     DirectoryIndex index.php index.html
</IfModule>

<FilesMatch "^\.ht">
     Order allow,deny
     Deny from all
     Satisfy All
</FilesMatch>

ErrorLog logs/error_log

LogLevel warn

<IfModule log_config_module>
     LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" 
\"%{User-Agent}i\"" combined
     LogFormat "%h %l %u %t \"%r\" %>s %b" common

     <IfModule logio_module>
       LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" 
\"%{User-Agent}i\" %I %O" combinedio
     </IfModule>

     CustomLog logs/access_log common

</IfModule>

<IfModule alias_module>
     ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/"
</IfModule>


<Directory "/usr/local/apache2/cgi-bin">
     AllowOverride None
     Options None
     Order allow,deny
     Allow from all
</Directory>

DefaultType text/plain

<IfModule mime_module>
     TypesConfig conf/mime.types
     AddType application/x-compress .Z
     AddType application/x-gzip .gz .tgz
     AddType application/x-httpd-php .php .phtml
     AddType application/x-httpd-php-source .phps
</IfModule>

<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>

Include conf/extra/httpd-vhosts.conf
#Include conf/extra/httpd-ssl.conf
Include conf/extra/vhost-campus.conf
Include conf/extra/vhost-moohost.conf
#Include conf/extra/vhost-campus-ssl.conf
#Include conf/extra/httpd-info.conf


HostnameLookups         off
#MaxKeepAliveRequests    150
#KeepAliveTimeout        5
#StartServers            50
#MinSpareServers         8
#MaxSpareServers         50
#ServerLimit             4096
#MaxClients              256
#MaxRequestsPerChild     25


<Location /server-status>
SetHandler server-status
</Location>

Thanks,

SimonB.



More information about the Wolves mailing list