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

Status
Not open for further replies.

gurb337

New Member
Messages
5
Reaction score
0
Points
0
Cannot access the site through the url regentvillerfb.x10.mx and the parked domain regentvillerfb.exofire.net without adding index.html
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Hello,

Could you please post the contents of the htaccess file in your public_html directory?
Also, please check that file permissions are 644 and folders 755 as a general rule.

Thanks.
 

gurb337

New Member
Messages
5
Reaction score
0
Points
0
Sorry for the late reply as i am trying to fix my laptop
.htaccess file:
###########################################################
#
# * DO NOT REMOVE *
#
# Project: PHP Photo Gallery version 1.0
# Url: http://phpweby.com/software/gallery
# Copyright: (C) 2009 Blagoj Janevski - bl@blagoj.com
# Project Manager: Blagoj Janevski
#
# For help, comments, feedback, discussion ... please join our
# Webmaster forums - http://forums.phpweby.com
#
# License------------------------------------------------:
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# End License----------------------------------------------
#
# Link to http://phpweby.com can not be removed from the software pages
# without permission of Blagoj Janevski <bl@blagoj.com>.
# It is the only requirement for using this software.
#
###########################################################

Options -Indexes
Options +FollowSymLinks

DirectoryIndex index.php

<Files ~ "^(.*)\.(tpl|txt)$">
Order deny,allow
Deny from all
</Files>
<IfModule mod_rewrite.c>
RewriteEngine on
#RewriteBase /


RewriteRule ^[/]?latest-photos.html$ index.php?l=l [NC,QSA]
RewriteRule ^[/]?favorite-photos.html$ index.php?l=f [NC,QSA]
RewriteRule ^[/]?top-photos.html$ index.php?l=t [NC,QSA]
RewriteRule ^[/]?photos/([0-9]+)$ photo.php?p=$1 [NC,QSA,L]
RewriteRule ^(.*)/page[-]?([0-9]*)\.htm[l]?$ index.php?uri=$1&p=$2 [QSA,NC,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ index.php?uri=$1 [QSA,L]
</IfModule>

This is from installing phpwebygalley and i have no idea what any of this means:confused:
 
Status
Not open for further replies.
Top