don't have permission to access server
Posted by: mosk (---.rcmdva.fios.verizon.net)
Date: January 13, 2010 05:08PM

Months ago, when I was first installing wamp on my windows vista, 32 bit system, I couldn't get things running until someone here told me to change apache so it looked on port 81 instead of the default of 80. That fixed things.

I've now turned off Windows IIS (which was using port 80 I believe), and I changed the line in Apache's httpd/conf file back to listen 80.

I then restarted all services of wamp server, and after going red / yellow / and then white, I tried to visit [localhost] (instead of [localhost] as I used to have to do). Now I get the error: FORBIDDEN - you don't have permission to access / on this server. Same type of error if I try to visit a particular folder like localhost/drupal615.

However, if I type in http:--localhost-phpmyadmin (- used for / since not showing up right on this forum) I'm taken right to the admin section without a problem.

Can someone tell me what happened and how to fix it.
Thanks



Edited 1 time(s). Last edit at 01/18/2010 06:24PM by mosk.

Options: ReplyQuote
Re: don't have permission to access server
Posted by: mosk (---.rcmdva.fios.verizon.net)
Date: January 18, 2010 06:25PM

It's been 5 days. Is anyone able to provide some help?
Thanks

Options: ReplyQuote
Re: don't have permission to access server
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: January 18, 2010 07:01PM

add me to msn and ill take a lok if you like

stevenmartin99@hotmail.com

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: don't have permission to access server
Posted by: mosk (---.rcmdva.fios.verizon.net)
Date: January 18, 2010 07:07PM

DISREGARD BELOW - I added you to Windows Live - Messenger; you should get an invitation shortly;

I've never used this before. Assumedly I'll get a popup window when you reply?

happy to do so if you tell me what i need to install first. Do I have to get MSN instant messenger?



Edited 1 time(s). Last edit at 01/18/2010 07:15PM by mosk.

Options: ReplyQuote
Re: don't have permission to access server
Posted by: yfastud (Moderator)
Date: January 18, 2010 11:45PM

Quote

Now I get the error: FORBIDDEN - you don't have permission to access / on this server. Same type of error if I try to visit a particular folder like localhost/drupal615.
search and remove/edit any .htaccess file inside folder www

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: don't have permission to access server
Posted by: mosk (---.rcmdva.fios.verizon.net)
Date: January 19, 2010 12:17AM

yfastud - Thanks for the idea. Don't think that was the problem in my case though. My .htaccess only consisted of the following 2 lines:
RewriteEngine on
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php

Problem had to do with previous switch between port 80 and 81, which I then switched back, Had made some other changes to httpd-vhosts.conf which I'd failed to clean up.


stevenmartin99 - thanks again for taking the time to diagnose and fix the problem

Options: ReplyQuote
Re: don't have permission to access server
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: January 19, 2010 08:38AM

also as yfastud said- about ur htaccess...

that file isnt even working because you have it called .htaccess.txt

it needs to be ".htaccess"

you can rename it in cmd like so.. otherwise apache does nothing about it

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: don't have permission to access server
Posted by: moellerj (---.pools.arcor-ip.net)
Date: January 19, 2010 02:05PM

Hello everyone,

after having some problems with WampServer2.0i on my XP laptop I uninstalled it and chose WampServer2.0h. Now phpinfo() and sqlitemanager are running fine, but phpmyadmin returns "Forbidden You don't have permission to access /phpmyadmin/ on this server."

I looked for .htaccess files - and found none. phpmyadmin.conf looks almost identical to sqlitemanager.conf (except the path certainly):

Alias /phpmyadmin "C:/Programme/wamp/apps/phpmyadmin3.2.0.1/"
<Directory "C:/Programme/wamp/apps/phpmyadmin3.2.0.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>

I tried to chance settings for phpmyadmin to

Order Allow, Deny
Allow from all
#Allow from 127.0.0.1

but the problem keeps the same.

Has anyone a hint to me?

Best regards

Jesco

Options: ReplyQuote
Re: don't have permission to access server
Posted by: mosk (---.rcmdva.fios.verizon.net)
Date: January 19, 2010 02:59PM

Thanks - will change .htaccess.txt to .htaccess via DOS window / cmd.exe

Options: ReplyQuote
Re: don't have permission to access server
Posted by: yfastud (Moderator)
Date: January 20, 2010 04:25AM

moellerj, your problem is not the same; after uninstall old wamp, you have to remove wamp folder as well before reinstall new wamp

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: don't have permission to access server
Posted by: moellerj (---.pools.arcor-ip.net)
Date: January 20, 2010 11:22PM

Hello yfastud,

thanks for this hint. Simple measure but perfect success. Thanks a lot.


Best regards

Jesco

Options: ReplyQuote


Sorry, only registered users may post in this forum.