G
Gorgon@
Guest
Hi folks,
Running v7.5.4 on RHEL4.
I know I've seen this before and for the life of me, I cannot remember how to fix it.
I had a site which initially was using a shared IP. I added an exclusive and then assigned it to this site. We need to access this site by the IP address for a short while so we cannot make use of host headers here.
When we try to access the site via IP, we get the Plesk default page; the one when it does not know what to do with the domain name since it's lacking host headers.
Now if I edit /etc/httpd/conf/httpd.include and move the line:
Include /var/www/vhosts/baertmarine.com/conf/httpd.include
To a section near the top and reload apache, the site comes up fine. But as you know this is not a fix since the master httpd.include file gets rewritten by plesk.
I've checked the local httpd.include file and it's all correct. For some reason, the postion of the Include directive causes plesk to see things incorrectly.
As I mentioned, I'm pretty sure I ran across this before and fixed it. I've gone through forums again but was not able to find the answer.
Does this sound familiar to anyone? Any suggestions?
Thanks,
mikeS
Running v7.5.4 on RHEL4.
I know I've seen this before and for the life of me, I cannot remember how to fix it.
I had a site which initially was using a shared IP. I added an exclusive and then assigned it to this site. We need to access this site by the IP address for a short while so we cannot make use of host headers here.
When we try to access the site via IP, we get the Plesk default page; the one when it does not know what to do with the domain name since it's lacking host headers.
Now if I edit /etc/httpd/conf/httpd.include and move the line:
Include /var/www/vhosts/baertmarine.com/conf/httpd.include
To a section near the top and reload apache, the site comes up fine. But as you know this is not a fix since the master httpd.include file gets rewritten by plesk.
I've checked the local httpd.include file and it's all correct. For some reason, the postion of the Include directive causes plesk to see things incorrectly.
As I mentioned, I'm pretty sure I ran across this before and fixed it. I've gone through forums again but was not able to find the answer.
Does this sound familiar to anyone? Any suggestions?
Thanks,
mikeS