This is a discussion on Learning Apache and I need a little help. within the Apache Web Server forums, part of the Web Server and Related Forums category; According to my school material as I understand it this should be a basic httpd.conf file for a computer ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
According to my school material as I understand it this should be a
basic httpd.conf file for a computer on an internal network. I'm getting errors on DirectoryIndex, <Directory> directory Order statement. I even copied these statements from the from the default httpd.conf file. Help me? #Global User apache Group apache ServerName www.blair.tld ServerRoot /etc/httpd DocumentRoot /var/www/html Listen 80 ServerTokens OS DirectoryIndex index.html index.cgi index.php index.html.var <IfModule log_config_module> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"% {UserAgent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common CustomLog logs/access_log common </IfModule> <IfModule prefork.c> StartServers 4 MinSpareServers 4 MaxSpareServers 10 MaxClients 200 </IfModule> <Directory /> Order deny,allow Deny from all </Directory> <Directory /var/www/html> Order allow,deny Allow from all </Directory> |
|
|||
|
On 17/02/2007 08:40, Davide Bianchi dixit:
> On 2007-02-17, sblair <sam19862006@gmail.com> wrote: >> getting errors on DirectoryIndex, <Directory> directory Order >> statement. > Which error? > Judgment: the student show proficiency and a sign of future management > capability by asking other people to do his job, without providing any > usefull information to do the aforementioned job. > Davide Davide, I'm thinking to activate a system of automated replies redirecting to http://www.catb.org/~esr/faqs/smart-questions.html (it is a *mandatory* reading in all my computer courses, along with "Zen and the art of motorcycle maintenance"[1]). Sometimes I feel myself like a vet, who must deal with an ill cow who can't describe symptoms... and often I feel the need to act as a vet: killing the cow. Cyrus (the /grunting/ virus) [1] Because of the "quest for quality". -- [a directive occurred while processing this error] |
|
|||
|
"sblair" <sam19862006@gmail.com> schreef in bericht
news:1171672440.680290.79640@m58g2000cwm.googlegro ups.com... > According to my school material as I understand it this should be > a basic httpd.conf file for a computer on an internal network. If the given sample was all, it is indeed _vary_ basic and SHOULD NOT be used for public exposed server > I'm getting errors on DirectoryIndex, <Directory> directory Order > statement. I even copied these statements from the from the default > httpd.conf file. Help me? Assuming a message like 'unknown directive' I assume some modules are not loaded: probably mod_dir and mod_access http://httpd.apache.org/docs/2.2/mod...directoryindex http://httpd.apache.org/docs/2.0/mod...ess.html#order A more detailed report stating version of Apache and OS and quoting a logged error is commonly more informative than a screen full of text. HansH |