Apache Loads Wrong Page
I not a total noob to linux only a noob to apache
I am Running A lamp server on A VPS with myhosting.com. but try as i might i cant apache2 to load the right page. I have set document root to /slk/redretriever/ but when i load the page it still loads /var/www/vhosts/default/htdocs/ I cant figure out why please help. p.s. I am running debian and have full root access |
One thing you might look at is whether or not the user that apache is run by has permissions to "/slk/redretriever"
Regards, Fordeck |
please post your httpd.conf.
usualy it happen if virtual host is incorrect. for example if your config file has double settings for a one domain. |
Hi,
Since the VPS is running debian, you should change the DocumentRoot in /etc/apache2/sites-enabled/default Regards |
Did you restart Apache after you made the DocumentRoot change?
|
I figured it out
in my version of apache2 httpd.conf is empty. and the normal apache files do nothing. but there is another file in conf.d
/etc/apache2/confd/zz010_psa_httpd.conf i did not even know this file existed when i asked the question. but this is the file that apache2 listens to first. i changed where the vhost pointed to and viola |
All times are GMT -5. The time now is 06:49 AM. |