FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Access forbidden to my subdomain

 


DoctorBeaver
I created a subdomain, the folder appeared in my public_html folder, loaded an index.php page into it, tried to run it using http://subdomain.mysite.frih.net/ and got "You do not have permission..."

Permission for the folder is set to 755.

What am I doing wrong?

(No point in anyone trying it as I've deleted the page)
enternaldr
Is all your files and folders set to 755. Maybe thats the problem.
mathiaus
I re-created a test file (index.php) and it worked for me. Can you check it shows up fine for you please?
DoctorBeaver
Yeah, that 1 works. I wonder why mine didn't Confused

Actually, while I'm at it - instead of having the index.php page in the subdomain folder, can I have it in a subfolder? That would make life a lot easier as a package I want to install uses its own folder name in the preset menu URLs.
Bondings
DoctorBeaver wrote:
Yeah, that 1 works. I wonder why mine didn't Confused

Actually, while I'm at it - instead of having the index.php page in the subdomain folder, can I have it in a subfolder? That would make life a lot easier as a package I want to install uses its own folder name in the preset menu URLs.

Yes, that should be working if you use a .htaccess file.

If you already have one in that directory, then simply add the code, otherwise create a blank .htaccess file and put it in there.
Code:
DirectoryIndex directory/filename.extension

That should normally be working.
DoctorBeaver
Thanks guys. All working now.
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.