Jump to content

Forbidden - You don't have permission to access dir/file.php...


Recommended Posts

Hi,

 

I'm trying to view files on my localhost and i'm getting the error

 

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

 

It works fine on our development server. Upuntil now i was working on development, but i want to work from localhost.

 

We do use session id's for all our urls, e.g. index.php?id='page'?PHPSESSID=1234567890.

 

I'm not sure whether thats the problem. I'm guessing it's some setting in the php.ini file.

 

I'm using WAMP, but the same issue arises with XAMPP, so it's not the server itself.

 

Thanks in advance.

 

 

Link to comment
Share on other sites

update

 

To make things a lil more clear.

The URL should be http://127.0.0.1/projects/project_name/svn/index.php?id=schedule?PHPSESSID=1234567890

 

instead i get the following url when i click on the schedule link.

 

http://127.0.0.1/projects/project_name/svn/%3Cbr?PHPSESSID=if9kjk52uv979k9duf8v9hrfs1%20/%3E%3Cb%3EDeprecated%3C/b%3E:%20%20Function%20split()%20is%20deprecated%20in%20%3Cb%3EC:\wamp\www\projects\project_name\svn\extensions\makeUrl.inc%3C/b%3E%20on%20line%20%3Cb%3E11%3C/b%3E%3Cbr%20/%3Eindex.php?id=schedule

 

 

we do have a makeurl function which does the obvious.

 

however, if i copy in the url from index.php onwards from development to local it works fine.

 

i think the make url function is working fine on development but not on my local.

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.