PDA

View Full Version : 403 forbidden


mrs
10-22-2009, 10:00 AM
I get this error:

Forbidden

You don't have permission to access /hpr/CMS100/admin/index.php on this server.

I have been editing the globals file, but to no avail. Here is the code in the globals:

<?php
$WAGLOBAL_Root_URL = "http://localhost/hpr/CMS100/" ; //Absolute path to your site folder.
$WAGLOBAL_Site_Name = "HPR Admin" ;

$WAGLOBAL_localRoot = "/CMS100/admin/"; //relative path to your PowerCMS files on your local testing server.
$WAGLOBAL_remoteRoot = "/CMS100/admin/"; //relative path to your PowerCMS files on your remote server.

//iRite Images upload settings
$WAGLOBAL_Images_Folder = "images/"; //relative path to your images folder.
$WAGLOBAL_Swf_Folder = "swf/"; //relative path to your swf folder.

// Admin Settings
$WAGLOBAL_Admin_UserName = "1" ;
$WAGLOBAL_Admin_Password = "1" ;
?>

I've tried all sorts of configurations to get this working on my local testing server, but no joy. I haven't even bothered with the images and swf folders yet.

Can you look at the code and advise please?

Thanks.

Eric Mittman
10-22-2009, 06:18 PM
You should check on the permissions of the folder that you have the files in, make sure that your web user has read and write permission. Also make sure that the pages are not set to read only, this can cause some problems.

If you are using an Apache server then there is some security in place somewhere that is not allowing you to access the files here.