Pages: Previous12
Current Page: 2 of 2
Re: Forbidden You don't have permission to access /phpmyadmin/ on this server.
Posted by: RiggsFolly (---.as13285.net)
Date: May 01, 2014 10:03AM

Please asnswer these questions [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: Forbidden You don't have permission to access /phpmyadmin/ on this server.
Posted by: PCAAdmin (---.dynamic.surfer.at)
Date: October 10, 2015 01:26PM

Hello,
my problem falls under the same header but presumeably is different nevertheless. First, my System:

Win7, WAMPServer 2.5, everthing setup as instructed and have a nicely running localhost with phpadmin and all. The WAMP's home is E:\wamp\

I then configered two vhosts in their own vhosts file (including the appropriate INCLUDE in httpd.conf) like this:
# Virtual Hosts for MBI Office
#
# edited 2Oct15 HWK:
<VirtualHost *:80>
ServerAdmin tester@businesspark.org
DocumentRoot "e:/Sites/insulinbeikrebs.at/public_html/ABC/"
ServerName ABC
ServerAlias insulinbeikrebs
ErrorLog "logs/local-ABC-error.log"
CustomLog "logs/local-ABC.log" common
</VirtualHost>

# edited 2Oct15 HWK:
<VirtualHost *:80>
ServerAdmin tester@businesspark.org
DocumentRoot "e:/Sites/pizzeria-candis.at/public_html/"
ServerName PCA
ServerAlias pizzeria
ErrorLog "logs/local-PCA-error.log"
CustomLog "logs/local-PCA-access.log" common
</VirtualHost>

Both sites run perfectly fine as [abc] and [pca] (of cource editied Win's host file etc).

I then added two more vhosts living on a different Disk, also enhanced the hosts file and restartet WAMP and the windowas dnacache. The following code was added to above vhost file:

# edited 10Oct15 HWK:
<VirtualHost *:80>
ServerAdmin tester@businesspark.org
DocumentRoot "l:/Werkstatt/projekt/"
ServerName pcaprojekt
ErrorLog "logs/local-pcaprojekt-error.log"
CustomLog "logs/local-pcaprojekt-access.log" common
</VirtualHost>

# edited 10Oct15 HWK:
<VirtualHost *:80>
ServerAdmin tester@businesspark.org
# DocumentRoot "e:/Sites/pizzeria-candis.at/public_html/"
DocumentRoot "l:/Werkstatt/shop"
ServerName pcashop
ErrorLog "logs/local-pcashop-error.log"
CustomLog "logs/local-pcashop-access.log" common
</VirtualHost>

None of them will show; I'm getting the famous "You don't have permission to access / on this server." message.

As can be seen in the lower block, I have also tried the enter a Documentroot from another host, and that works fine as well. Thus, it is certain that the fault lies either in the fact that vhost utilize two different disks, or else with the E:/path ... I wasn't able to figure that out.

Appache error-log shows AH00112: Warning: DocumentRoot [L:/Werkstatt/projekt/] does not exist - So I checked using windows CMD like this:

cd: L\Werkstatt\shop
L\Werkstatt\shop>dir
... getting a list of 64 file with 440MBytes. (I did this to avoid anything that WinExplorer could falsify when listing the correct content).

I am grateful for any hint as to what might cause this and/or what I need to correct, test or can do to make this work. It is a requirement to use an extra disk.
Kind regards!

Options: ReplyQuote
Re: Forbidden You don't have permission to access /phpmyadmin/ on this server.
Posted by: RiggsFolly (---.as43234.net)
Date: October 10, 2015 03:32PM

Simple,

Each VHOST shoudl contain a `<Directory>...</Directoy>` group to define the access priviliages for that Virtual Host


Read this post it will explain/Show you how it should be done. [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: Forbidden You don't have permission to access /phpmyadmin/ on this server.
Posted by: PCAAdmin (---.dynamic.surfer.at)
Date: October 11, 2015 10:27AM

Wow, RiggsFolly, this was indeed simple! Thank you very much.
Thing is, I wasn't as careful as I should have been. Anyways: You taught me a lesson and I have learend it well! Kind regards!

Options: ReplyQuote
Pages: Previous12
Current Page: 2 of 2


Sorry, only registered users may post in this forum.