mits Posted June 9, 2010 Share Posted June 9, 2010 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. Quote Link to comment https://forums.phpfreaks.com/topic/204267-forbidden-you-dont-have-permission-to-access-dirfilephp/ Share on other sites More sharing options...
mits Posted June 9, 2010 Author Share Posted June 9, 2010 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. Quote Link to comment https://forums.phpfreaks.com/topic/204267-forbidden-you-dont-have-permission-to-access-dirfilephp/#findComment-1069852 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.