PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > Learning Apache and I need a little .
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

Learning Apache and I need a little .

Réponse
 
LinkBack Outils de la discussion
Vieux 17/02/2007, 00h34   #1
sblair
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Learning Apache and I need a little .

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

  Réponse avec citation
Vieux 17/02/2007, 07h40   #2
Davide Bianchi
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Learning Apache and I need a little .

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

--
Shell to DOS... Come in DOS, do you copy? Shell to DOS...
  Réponse avec citation
Vieux 17/02/2007, 10h29   #3
cyrusthevirus
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Learning Apache and I need a little .

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]
  Réponse avec citation
Vieux 17/02/2007, 11h51   #4
HansH
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Learning Apache and I need a little .

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


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 08h39.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09879 seconds with 12 queries