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

You don't have permission to access / on this server.

 


jdelfire
Hi all I'm having problems on accessing mysite

***************************************

Forbidden
You don't have permission to access / on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

***************************************

But I can access my site using the cpanel
and my html sites like www.mysite.com/mysite.html
badai
no index file?
jdelfire
Yes no index file... but I can access the files if i will type it directly like

www.mysite.frihost.net/filename.ext

at first i thought i was a being blocked from my work but my friend called me and told me they can't access the index
badai
directory listing is disabled (maybe by default).

you need to edit your .htaccess file to enable directory listing.

http://www.javascriptkit.com/howto/htaccess11.shtml
Bondings
Then you need to either put an index file (index.php or index.html) there or use the .htaccess file mentioned by badai to enable directory listings.
jdelfire
Thank you all for the reply
There is no .htaccess showing on my cpanel.
Can you guys give me a sample script of .htaccess?
I deleted my Index.html because it looks corrupted.
badai
then you need to create one.

just put this one line in your file:

Code:
Options +Indexes


save it as
Code:
.htaccess
in your public_html. this will also effect all subfolder, unless that subfolder have its own .htaccess. if you want to disable listing in subfolder, the code is
Code:
IndexIgnore *
badai
the .htaccess file won't show up in you directory listing.
Beny
Same Here i need help to
badai
sure, we can help. but you need to tell us at which part that you get stuck. the whole instruction are already there.

1. go to control panel
2. get the file listing
3. go to public_html
4. create new file, enter file name (.htaccess) at text field some where at bottom
5. enter just that 1 line: Options +Indexes
6. save the file
7. try to see it in your browser

Beny wrote:
Same Here i need help to
Vrythramax
Beny wrote:
Same Here i need help to


@Beny

Please check your PM's. Wink
jdelfire
It's not allowing me to create a file .htaccess inside cpanel
so what I did... I created a notepad save it as .htaccess entered the Options + Indexes
updloaded it to public.html... and it works!!!
thank you all
badai
yeah, you can't create it directly. just save as different name first, then you can rename it.
Related topics

I can upload with ftp, but can't read with http
Microsoft Exchange Server and the iPhone
WordPress - Can't See Plugins
How to make a site with LiveConnect like gmail ?
Speeding Up Your PC

Accessing Remote Databases
permission to access /install.php
Permission denied! Can't access DirectAdmin at :2222 Help!!!
You don't have permission to access / on this server.
MySQL access on server 2

Access denied... why?
Server 2 strange 403/404 error but the page exists
Can't access the index of my boards!
FTP server
access problems
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Frihost Support

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