I have a problem with apache conf file. And don't know what is wrong that apache can't find joomla folder
When I set in ssl.conf
DocumentRoot "/var/www/html/joomla"
I get error in log files
[error] [client 84.X.X.X] File does not exist: /var/www/html/joomla/joomla, referer: https://www.mydomain.com/
If I set this in ssl.conf
DocumentRoot "/var/www/html"
I get error
[error] [client 84.X.X.X] Directory index forbidden by Options directive: /var/www/html/
In /conf.d/mysite.conf I can set no matter what I get the same error.
<IfModule mod_ssl.c>
<VirtualHost *:443>
DocumentRoot "/var/www/html/joomla"
ServerName www.mydomain.com
ServerAlias mydomain.com
ServerPath /var/www/html/joomla
Apache conf file problem
Re: Apache conf file problem
Error refer to '/var/www/html/joomla/joomla' and Your config point to '/var/www/html/joomla' check Your config ones again,
Permissions to /var/www/html/joomla ?
or extra config in htaccess ?
Try to disable other mod and run simply html file to test Apache.
Permissions to /var/www/html/joomla ?
or extra config in htaccess ?
Try to disable other mod and run simply html file to test Apache.
Re: Apache conf file problem
mghe wrote:Error refer to '/var/www/html/joomla/joomla' and Your config point to '/var/www/html/joomla' check Your config ones again,
Permissions to /var/www/html/joomla ?
or extra config in htaccess ?
Try to disable other mod and run simply html file to test Apache.
I have checked config 10 times and all looks ok.Permission for /var/www/html/joomla is ok problem is when i put in config /var/www/html
There is no httaccess file
If I put index.html in /var/www/html it works ok but can not point apache to find /var/www/html/joomla
Re: Apache conf file problem
I found out that joomla.conf was not accepted by apache because the start of config file was with this, any idea why not?
I removed that and get notification [warn] _default_ VirtualHost overlap on port 443, the first has precedence
<IfModule mod_ssl.c>
</IfModule>
I removed that and get notification [warn] _default_ VirtualHost overlap on port 443, the first has precedence
<IfModule mod_ssl.c>
</IfModule>
Re: Apache conf file problem
I found out solution I added this to ssl.conf within virtual server
NameVirtualHost *:443
and now there is no errors anymore.
NameVirtualHost *:443
and now there is no errors anymore.