Help - Search - Members - Calendar
Full Version: Plesk Account creation question
The Planet Forums > System Administration > Virtualization
neorder
i created an account without Frontpage support, and click site preview, it show me either :

QUOTE
Forbidden
You do not have permission to access this document.  


or

plesk default page, and telling there is not physical hosting for this domain.


After i enable Frontpage authoring, then it worked:

QUOTE
This is the placeholder for domain test.net. If you see this page after uploading site content you probably have not replaced the index.html file.  

This page has been automatically generated by Plesk.



Can any plesk savvy explain me abit?
Goliath
I'm having the exact same problem on this VPS I just purchased today. I'm trying to track down the cause now.
Goliath
From /var/www/vhosts/domain.com/statistics/logs/error_log :

[Sat May 27 07:54:22 2006] [crit] [client 10.0.0.1] (13)Permission denied: /var/www/vhosts/domain.com/httpdocs/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

And, since there is no .htaccess, the error is clear.

The permissions are set wrong.

cd /var/www/vhosts/domain.com/
chmod 755 httpdocs
chmod 755 httpsdocs

Problem all solved. I'm not sure if plesk is intentionally doing this to permissions or what. You may be able to edit your skeleton permissions to fix this in the future.

But, a word of caution. My guess is that this is to prevent cross domain attacks. If config.php type files are world readable, then someone from domain2.com could shell over and read their data.

If you want this protection and don't want frontpage, you will probably have to write up your own custom .htaccess and locate it outside of that directory so that Apache can read it (or edit your httpd.conf).
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.