FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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.
razor2997
This is the error page when I try to go on the main domain:
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.
_______
This is the error page I get when I try going to any of the other pages on my website:
Oops! This link appears to be broken.
Suggestions:
- Search on Google:
_______
Even when I try using my FTP software (FileZilla) he response is this:
Error: Critical error
Error: Could not connect to server
_______
I am using Google Chrome for my main browser but I did test it with FireFox. My hosting service is sixserve.com but on there it says my website is active. Before it went down, my website was using a forum software called vBulletin (Which I got pirated). It has been working for a month until now. The last thing I put on there was a addon called easyform (which worked for me for about a week).
About a week before I started to get database errors in the email the first one was:
Title: vBulletin Database Error!
Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
/home/(username)/domains/(mywebsite)/public_html/includes/class_core.php on line 312

MySQL Error :
Error Number :
Request Date : Saturday, October 16th 2010 @ 04:37:19 PM
Error Date : Saturday, October 16th 2010 @ 04:37:20 PM
Script : http://(mywebsite)/ajax.php
Referrer : http://(mywebsite)/competitions.php?do=rules
IP Address : (my IP)
Username :
Classname : vB_Database
MySQL Version :
________
The second email error was this:
Title: vBulletin Database Error!
Database error in vBulletin 4.0.2:

Invalid SQL:

INSERT INTO product
(productid, title, description, version, active, url, versioncheckurl)
VALUES
('easyforms',
'Easy Forms',
'Create Forms without any hassle or fuss. Form list at misc.php?do=forms',
'4.0.3',
1,
'http://www.vbulletin.org/forum/misc.php?do=producthelp&pid=vbeasyforms',
'http://www.vbulletin.org/forum/misc.php?do=productcheck&pid=vbeasyforms');

MySQL Error : Duplicate entry 'easyforms' for key 1
Error Number : 1062
Request Date : Monday, October 18th 2010 @ 03:22:37 AM
Error Date : Monday, October 18th 2010 @ 03:25:21 AM
Script : http://(mywebsite)/admincp/plugin.php?do=productimport
Referrer : http://(mywebsite)/admincp/plugin.php?do=productadd
IP Address : (my IP)
Username : (my username)
Classname : vB_Database
MySQL Version : 5.0.91
________
If you need anymore details on all the addons I got then please send me a message. I would restore the site if I could access the FTP files but it keeps sending me errors. If there is a way around it to get it back up then please tell me, otherwise I'm ganna have to restart all the way from the beginning and going through and changes all the permissions to every file to 777.

PLEASE HELP,
Razor2997
JVermolen
Maby you can Chmod the files?? if not via your file manager then via an FTP Client like Filezilla?
razor2997
Never Mind,
I just got impatient. The servers are back up and going and so is my website. I need to back it up somehow. Any suggestions of a website that can help me back up all the files I've got.
www.emititionstudios.com

Emitition Studios Admin,
Razor2997
bukaida
Go to Cpanel->File manager->public_html.

Go to the bottom of the page.

search for "Compress clipboard files to" and save your entire directory as tar.gz / zip.

For database backup, use phpmyadmin which is integrated with CPanel.

PS

If I am not mistaken, you are not searching for a parallel web hosting. Very Happy
geoffwidders
badai wrote:
no index file?



thanks Badai!! Very Happy
Related topics
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Frihost Support

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