Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

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

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
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 : startssl' I checked online and there was some on this on - but they did not go into detail why the error occured and the solution did not work :( ..

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 I receive the following error: already in use: could not bind to address [::]:443 Is there a cause..

HTTPD Compilation error - I manage to get DB2 4.0.3 to work together on RedHat 8.0. However, i could not get the latest version of Apache which is known as HTTPD 4.3.4/DB2 V7.2 on RedHat 8.0 work together. The httpd 2.0.x seem..

chroot apache starting error - hi I am getting the following error while trying to start apache in chroot mode. No such device: failed. failed\n what could be the problem?. thanx deepak -- dpknet..

starting apache with mod_perl, error on Apache.pm - Hi, At the moment i try to install and The procedure was but then i tried to start apache with start”, although i saw on my screen : start: httpd started”, then i saw in the..
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 RemoveThis @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: 2907



(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:   
   Web Hosting and Web Master Forums (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 ]