You don't have permission to access /testc/ on this server
Posted by: krommenaas (---.access.telenet.be)
Date: March 22, 2015 05:15PM

Hi,

Newbie question. I just installed Wampserver, but whatever I do, I always get "You don't have permission to access /testc/ on this server".

I went so far as to copy phpmyadmin.conf to testc.conf and change Alias /phpmyadmin [...] in the first line to Alias /testc [...] leaving everything else identical. Even then I get the error, even though I have no problem reaching phpmyadmin through its original alias. How is this possible?

tia

Options: ReplyQuote
Re: You don't have permission to access /testc/ on this server
Posted by: RiggsFolly (---.as43234.net)
Date: March 23, 2015 11:46AM

Hello tia,

Ok so undo the changes you described.

Then can you start by answering these questions so we know a little bit about your setup please. [forum.wampserver.com]

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: You don't have permission to access /testc/ on this server
Posted by: krommenaas (---.access.telenet.be)
Date: March 23, 2015 12:52PM

1 - Windows 8. Dunno 32bit or 64bit. It's a rather recent laptop if that helps.
2 - Version WampServer: 2.5 (current version dl'd yesterday), 32bit
3 - Apache Version: 2.4.9
4 - PHP Version: 5.5.12
5 - MySQL Version: 5.6.17
6 - What color is the WampServer icon: GREEN
7 - hosts file has 1 line
127.0.0.1 localhost
8 - Do you have access to localhost (Homepage WampServer)? YES
9 - Do you have access to phpMyAdmin? YES
10 - If you refer to an error message, please include the EXACT wording of the error in your post

So I've created an alias called test with either the default alias file, the alias file copied from phpmyadmin or the following simplified file (result is always the same):

Alias /test/ "D:/WebLIVE/test/"

<Directory "D:/WebLIVE/test/">
Order allow,deny
Allow from all
</Directory>

when in the browser I go to [localhost] I get:

403 Forbidden You don't have permission to access /test/ on this server.
Apache/2.4.9 (Win32) PHP/5.5.12 Server at localhost Port 80

for each attempt my Apache log has

[authz_core:error] [pid 860:tid 984] [client ::1:57018] AH01630: client denied by server configuration: D:/WebLIVE/test/, referer: [localhost]


11 - If you use an Antivirus and / or Firewall, please include the names of these
avast


12 - What is the full path to the installation of WampServer (eg D:\wamp\)
C:\DEV\wamp

Options: ReplyQuote
Re: You don't have permission to access /testc/ on this server
Posted by: krommenaas (---.access.telenet.be)
Date: March 23, 2015 12:53PM

apologies for missing the "Sticky: READ BEFORE YOU ASK A QUESTION" btw :/

Options: ReplyQuote
Re: You don't have permission to access /testc/ on this server
Posted by: RiggsFolly (---.as43234.net)
Date: March 23, 2015 01:13PM

Tia,

It is a better idea to use Virtual Hosts rather than Alias's, here is a post that shoudl help you get them up and running

WAMPServer 2.5 The Homepage, Your Projects Menu and the need for Virtual Hosts

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.