Learning Apache and I need a little help.

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-17-2007
sblair
 
Posts: n/a
Default Learning Apache and I need a little help.

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>

  #2 (permalink)  
Old 02-17-2007
cyrusthevirus
 
Posts: n/a
Default Re: Learning Apache and I need a little help.

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]
  #3 (permalink)  
Old 02-17-2007
HansH
 
Posts: n/a
Default Re: Learning Apache and I need a little help.

"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


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:12 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0