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>