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 > File does not exist: /htdocs
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

File does not exist: /htdocs

Réponse
 
LinkBack Outils de la discussion
Vieux 14/10/2006, 03h05   #1 (permalink)
Yan Seiner
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut File does not exist: /htdocs

I'm migrating a website from my old server to a new debian etch
installation.

The old setup was loosely based on FC2, but with mnay, many modificaitons,
including a self-compiled apache 2. It worked fine.

Now on the new server, I am getting a

Not Found

The requested URL / was not found on this server.

error when I try to access the website, and I get a

[Sat Oct 14 02:33:54 2006] [error] [client 192.168.128.202] File does not
exist: /htdocs

error in the error.log files....

I am completely stumped; the 'default' setup that comes with etch makes no
mention of /htdocs and it comes up fine.

I've grepped my entire site and it makes no mention of htdocs either, but
I get this 404...

Can anyone shed some light on this? Where does htdocs come from? Is it
some standard directory I am missing?

I can post conf files if needed....

--Yan
  Réponse avec citation
Vieux 14/10/2006, 14h44   #2 (permalink)
Mark
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: File does not exist: /htdocs

Yan Seiner <yan@poseidon.seiner.lan> wrote in
news:pan.2006.10.14.02.05.36.48536@poseidon.seiner .lan:

> I'm migrating a website from my old server to a new debian etch
> installation.
>
> The old setup was loosely based on FC2, but with mnay, many
> modificaitons, including a self-compiled apache 2. It worked fine.
>
> Now on the new server, I am getting a
>
> Not Found
>
> The requested URL / was not found on this server.
>
> error when I try to access the website, and I get a
>
> [Sat Oct 14 02:33:54 2006] [error] [client 192.168.128.202] File does
> not exist: /htdocs
>
> error in the error.log files....
>
> I am completely stumped; the 'default' setup that comes with etch
> makes no mention of /htdocs and it comes up fine.
>
> I've grepped my entire site and it makes no mention of htdocs either,
> but I get this 404...
>
> Can anyone shed some light on this? Where does htdocs come from? Is
> it some standard directory I am missing?
>
> I can post conf files if needed....
>
> --Yan
>


Search your httpd.conf file for any occurrance of htdocs and you will
likely find it either in a DocumentRoot directove or in a Directory
container. And don't forget any conf.d directory. There may be multiple
conf files in that directory as well.


Moving from one server to the other likely has the difference of the
standard DocumentRoot.



----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
  Réponse avec citation
Vieux 14/10/2006, 14h59   #3 (permalink)
Yan Seiner
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: File does not exist: /htdocs

On Fri, 13 Oct 2006 19:05:36 -0700, Yan Seiner wrote:

> I'm migrating a website from my old server to a new debian etch
> installation.
>
> The old setup was loosely based on FC2, but with mnay, many modificaitons,
> including a self-compiled apache 2. It worked fine.
>
> Now on the new server, I am getting a
>
> Not Found
>
> The requested URL / was not found on this server.
>


Never mind. Typo in the virtual server config.

/htdocs is the default document root.

-Yan
  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 02h26.


Édité par : vBulletin® version 3.7.2
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
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09024 seconds with 11 queries