Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Help with error: Starting httpd: Warning: DocumentRoot do..

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Next:  critical sections & sockets usage under I..  
Author Message
Lynwood Stewart

External


Since: Mar 22, 2005
Posts: 2



(Msg. 1) Posted: Tue Mar 22, 2005 5:29 pm
Post subject: Help with error: Starting httpd: Warning: DocumentRoot does not exist
Archived from groups: alt>apache>configuration (more info?)

I guess it is my turn to need some help PLEASE!

I have included most of my httpd.conf file below (Comments removed).

When is start apache with: /etc/init.d/httpd start
the responce is
Starting httpd: Warning: DocumentRoot <mydomainpath> does not exist

The path does exist with permissions of "755" with owner and group of
"apache". The owner and group apache also exist. The path to
/var/www/html/mydomainroot also exists and contains the same permissions,
owner, and group.

I am getting "You don't have permission to access / on this server" both on
the browser and in the mydomain_error_log. The browser also shows a 403
Forbidden error.

Any help you can give would be appreciated. I did check the last 3 months
messages but none seemed to apply.

Thank you,

--
Lynwood A. Stewart



ServerRoot "/etc/httpd"

Listen *:80

User apache
Group apache
ServerAdmin me@localhost
ServerName heinlein
UseCanonicalName on
DocumentRoot "/var/www/html"

<LocationMatch "^/$">
Options -Indexes
ErrorDocument 403 /error/noindex.html
</LocationMatch>

DirectoryIndex

<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>

TypesConfig "/etc/mime.types"
DefaultType text/plain

HostNameLookups Off

ErrorLog "/var/log/httpd/error_log"
LogLevel warn
ServerSignature on

Alias /icons/ "/var/www/icons/"
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
IndexOptions FancyIndexing VersionSort NameWidth=*

IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t

Alias /error/ "/var/www/error/"

# Where do we put the lock and pif files?
LockFile "/var/lock/httpd.lock"
CoreDumpDirectory "/etc/httpd"

NameVirtualHost 111.111.111.1

# Virtual host mydomain.com
<VirtualHost 111.111.111.1>
ServerName www.mydomain.com
DocumentRoot "/var/www/html/mydomain"
ServerAdmin me.TakeThisOut@mydomain.com
LogLevel warn
ServerAlias mydomain
ServerAlias mydomain.com
ServerSignature email
DirectoryIndex index.html index.htm index.shtml
TransferLog logs/mydomain.access_log
ErrorLog logs/mydomain.error_log

<Directory "/var/www/html/mydomain">
Options all
AllowOverride none
</Directory>
</VirtualHost>

<Directory "/">
Options FollowSymLinks
AllowOverride None
</Directory>

<Directory "/var/www/html">
Options Indexes Includes FollowSymLinks
AllowOverride None
Allow from all
Order allow,deny
</Directory>

<Directory "/var/www/icons">
Options Indexes MultiViews
AllowOverride None
Allow from all
Order allow,deny
</Directory>

<Directory "/var/www/cgi-bin">
Options ExecCGI
AllowOverride None
Allow from all
Order allow,deny
</Directory>

 >> Stay informed about: Help with error: Starting httpd: Warning: DocumentRoot do.. 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2994



(Msg. 2) Posted: Wed Mar 23, 2005 2:35 am
Post subject: Re: Help with error: Starting httpd: Warning: DocumentRoot does not exist [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

this post is not archived.

 >> Stay informed about: Help with error: Starting httpd: Warning: DocumentRoot do.. 
Back to top
Login to vote
Lynwood Stewart

External


Since: Mar 22, 2005
Posts: 2



(Msg. 3) Posted: Thu Mar 24, 2005 7:57 pm
Post subject: Re: Help with error: Starting httpd: Warning: DocumentRoot does not exist [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You had a good suggestion about the <Directory not being there but it is.
Try again PLEASE.

--
Lynwood A. Stewart
lynwood.DeleteThis@stewartworld.com
lynwood.a.stewart.DeleteThis@boeing.com
253-630-9794 Home
206-383-4055 Cell
"Lynwood Stewart" <lynwood.DeleteThis@nwlink.com> wrote in message
news:1141hctg2ck295@corp.supernews.com...
 >I guess it is my turn to need some help PLEASE!
 >
 > I have included most of my httpd.conf file below (Comments removed).
 >
 > When is start apache with: /etc/init.d/httpd start
 > the responce is
 > Starting httpd: Warning: DocumentRoot <mydomainpath> does not exist
 >
 > The path does exist with permissions of "755" with owner and group of
 > "apache". The owner and group apache also exist. The path to
 > /var/www/html/mydomainroot also exists and contains the same permissions,
 > owner, and group.
 >
 > I am getting "You don't have permission to access / on this server" both
 > on the browser and in the mydomain_error_log. The browser also shows a
 > 403 Forbidden error.
 >
 > Any help you can give would be appreciated. I did check the last 3 months
 > messages but none seemed to apply.
 >
 > Thank you,
 >
 > --
 > Lynwood A. Stewart
 >
 >
 >
 > ServerRoot "/etc/httpd"
 >
 > Listen *:80
 >
 > User apache
 > Group apache
 > ServerAdmin me@localhost
 > ServerName heinlein
 > UseCanonicalName on
 > DocumentRoot "/var/www/html"
 >
 > <LocationMatch "^/$">
 > Options -Indexes
 > ErrorDocument 403 /error/noindex.html
 > </LocationMatch>
 >
 > DirectoryIndex
 >
 > <Files ~ "^\.ht">
 > Order allow,deny
 > Deny from all
 > </Files>
 >
 > TypesConfig "/etc/mime.types"
 > DefaultType text/plain
 >
 > HostNameLookups Off
 >
 > ErrorLog "/var/log/httpd/error_log"
 > LogLevel warn
 > ServerSignature on
 >
 > Alias /icons/ "/var/www/icons/"
 > ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
 > IndexOptions FancyIndexing VersionSort NameWidth=*
 >
 > IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
 >
 > Alias /error/ "/var/www/error/"
 >
 > # Where do we put the lock and pif files?
 > LockFile "/var/lock/httpd.lock"
 > CoreDumpDirectory "/etc/httpd"
 >
 > NameVirtualHost 111.111.111.1
 >
 > # Virtual host mydomain.com
 > <VirtualHost 111.111.111.1>
<font color=purple> > ServerName <a style='text-decoration: underline;' href="http://www.mydomain.com</font" target="_blank">www.mydomain.com</font</a>>
 > DocumentRoot "/var/www/html/mydomain"
 > ServerAdmin me.DeleteThis@mydomain.com
 > LogLevel warn
 > ServerAlias mydomain
 > ServerAlias mydomain.com
 > ServerSignature email
 > DirectoryIndex index.html index.htm index.shtml
 > TransferLog logs/mydomain.access_log
 > ErrorLog logs/mydomain.error_log
 >
 > <Directory "/var/www/html/mydomain">
 > Options all
 > AllowOverride none
 > </Directory>
 > </VirtualHost>
 >
 > <Directory "/">
 > Options FollowSymLinks
 > AllowOverride None
 > </Directory>
 >
 > <Directory "/var/www/html">
 > Options Indexes Includes FollowSymLinks
 > AllowOverride None
 > Allow from all
 > Order allow,deny
 > </Directory>
 >
 > <Directory "/var/www/icons">
 > Options Indexes MultiViews
 > AllowOverride None
 > Allow from all
 > Order allow,deny
 > </Directory>
 >
 > <Directory "/var/www/cgi-bin">
 > Options ExecCGI
 > AllowOverride None
 > Allow from all
 > Order allow,deny
 > </Directory>
 >
 >
 >
 >
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Help with error: Starting httpd: Warning: DocumentRoot do.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Error Starting Apache2.0.52 Line 237 on httpd.conf file - Hi: I receive the following error when I try to start Apache : './apachectl startssl' I checked online and there was some information on this on www.sun.com - but they did not go into detail why the error occured and the solution did not work :( ..

what's the difference between starting using apachectl and.. - I 'm trying to figure out what the difference is between starting the Apache web server using the apachectl shell script and starting it using the httpd binary? I went throught the apachectl sh script and saw that it only sets some environmental vars an...

changing default document configuration prevent httpd from.. - Hello, If I change any configuration and start httpd via "/etc/init.d/httpd start" it fails to start up "Starting httpd: [FAILED]" How do I debug this problem? cat /etc/redhat-release Fedora Core release 6 (Zod) /usr/sbin/httpd -V...

Error when starting SSL - Apache Version 2.0.52 - compiles with mod_ssl openssl Version 0.9.6g OS: Sun Solaris 9 When I perform an './apachectl startssl', I receive the following error: (125)Address already in use: make_sock: could not bind to address [::]:443 Is there a cause...

httpd-error - I recently saw this in my website's httpd-error.log, can your pls tell me what I should check? I really have no clue where to look: File does not exist: /usr/www/mywebsite.net/:// Looks like something is missing? Site looks oke, visually no quircks to....
   Web Hosting Problem Solving Community! (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]