Clean installation fails in tools an aliases
Posted by: ErikHansen (---.101.109.208.generic-hostname.arrownet.dk)
Date: May 06, 2013 10:18PM

Hi,

Have just installed Wamp2.2 on Vista Home Premium

When i "start" localhost the WAMPSERVER Homepage loads as expected.

If I create a subfolder, and som HTML in it, it show up under "Your Projects"

BUT the 3 links:
phpmyadmin
sqlbuddy
webgrind
All gives the error 403 Forbidden and the text: "You don't have permission to access /xxxx/ on this server."

I haven't in anyways modified the installation

Any clous?

Options: ReplyQuote
Re: Clean installation fails in tools an aliases
Posted by: stevenmartin99 (Moderator)
Date: May 06, 2013 10:35PM

Modify each alias file in c:/wamp/alias

Change

Allow from 127.0.0.1

To

Allow from 127.0.01 ::1 localhost


This is needed when ipv6 is enabled on PC

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

Options: ReplyQuote
Re: Clean installation fails in tools an aliases
Posted by: ErikHansen (---.101.109.208.generic-hostname.arrownet.dk)
Date: May 06, 2013 11:03PM

Hi Steven,

Short, precise and useful answer. Thanks alot! It works smooth.

But if I connect to the webserver from another PC using a browser (local network) I get exactly the same error as above. Can you help with that as well?

Options: ReplyQuote
Re: Clean installation fails in tools an aliases
Posted by: stevenmartin99 (Moderator)
Date: May 06, 2013 11:12PM

First - Wampserver needs to be online to use across network/web

left click wamp tray icon > put online

this will allow your sites, but these 3 alias sites are blocked from anything except local use for security reasons


The line we changed above is actually responsible in only allowing the local machine accessing them.
In each file it is written what you need to replace the lines with to allow outside access.

i don't recommend actually doing that, because anybody on the web would have potential access(depending on router settings).

so best just to allow the lan network - for example if your network is on the 192 ip range just change the line above to

allow from 127.0.0.1 ::1 localhost 192

this will allow the entire 192 ip range access.


if you do need full WAN access, you will need to add a .htaccess and password setup for each alias

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

Options: ReplyQuote
Re: Clean installation fails in tools an aliases
Posted by: ErikHansen (---.101.109.208.generic-hostname.arrownet.dk)
Date: May 06, 2013 11:54PM

Hi again Steven,

Once more my compliment for a fast and correct answer. Problem solved. I'm grateful

One "funny" thing is if I enter the address: [192.168.1.102] everything is fine (as you said). If I enter the alias-name as address (as in: http;//Server) there's no access to the subfolders outside the www-folder?

(The server is my media-file-server. The PC has lots of resources even when network-streaming goes at max. Unfortunately it's not too quiet so I have it in a lumber room)

Options: ReplyQuote
Re: Clean installation fails in tools an aliases
Posted by: stevenmartin99 (Moderator)
Date: May 07, 2013 12:08AM

That would involve setting up virtual host with its on directory tag and access settings

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

Options: ReplyQuote
Re: Clean installation fails in tools an aliases
Posted by: ErikHansen (---.101.109.208.generic-hostname.arrownet.dk)
Date: May 07, 2013 12:20AM

Hi Steven,

Will try to find the info on that part another evening.

It works, and are up running, including a Joomla installed and ready

Thaks for you help

Options: ReplyQuote


Sorry, only registered users may post in this forum.