Pages: 12Next
Current Page: 1 of 2
WampServer on Win8
Posted by: macdjerf (---.bredband.comhem.se)
Date: December 15, 2012 02:57PM

Does any one know if WampServer works on Win?

Options: ReplyQuote
Re: WampServer on Win8
Posted by: stevenmartin99 (Moderator)
Date: December 15, 2012 03:09PM

It ONLY works on windows!

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

Options: ReplyQuote
Re: WampServer on Win8
Posted by: missr1900 (---.rdsnet.ro)
Date: December 15, 2012 03:13PM

its working .. for sure. There are some troubles with Microsoft-IIS/8.0 too

Options: ReplyQuote
Re: WampServer on Win8
Posted by: macdjerf (---.bredband.comhem.se)
Date: December 15, 2012 06:02PM

Thank you so much for your quick reply!

I´m so sorry but I missed to write Win8 in the text, which is what I have now on a new PC. Are the reasons for eventual problems known?

Options: ReplyQuote
Re: WampServer on Win8
Posted by: RiggsFolly (---.as13285.net)
Date: December 15, 2012 07:21PM

macdjerf,

If you actually tell us what problems you are have .... its just possible someone will help you.

Options: ReplyQuote
Re: WampServer on Win8
Posted by: macdjerf (---.bredband.comhem.se)
Date: December 15, 2012 10:58PM

Thank you RiggsFolly,

I installed the WampServer and started it and went to localhost in the menu and I got "Forbidden You don't have permission to access / on this server." I checked the host file and it has

# ::1 localhost
127.0.0.1 localhost

But it still will not work? What am I doing wrong? I hope you have time to think about it and give me a reply.

All the best

Options: ReplyQuote
Re: WampServer on Win8
Posted by: Loso_Fresh (---.mco.bellsouth.net)
Date: December 16, 2012 02:56AM

This worked for me, just change the following lines to the httpd.conf, located at (C:\wamp\bin\apache\apache2.2.22\conf)

Assuming your .conf file is just like mine...

I've listed what my .conf file looked like after installing WAMP. If it doesn't look the same, do a search for the word in quotes inside the file...

Change the directory of course if you didn't install in the default directory (c:/wamp).

[1]
LINE 188, or search "FollowSymLinks"
-original

<Directory />
Options FollowSymLinks
AllowOverride None
Order deny, allow
Deny from all
</Directory>

-change to
<Directory "c:/wamp/apps/phpmyadmin3.4.5/">
Options FollowSymLinks Multiviews
AllowOverride all
Order deny,allow
Deny from all
</Directory>

[2]
LINE 232, or search "127.0.0.1"
Order Deny,Allow
Deny from all
Allow from 127.0.0.1

-change to
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 ::1

[3]
LINE 46, or search "Listen 80"
Listen 80

-change to
Listen 0.0.0.0:80

Options: ReplyQuote
Re: WampServer on Win8
Posted by: macdjerf (---.bredband.comhem.se)
Date: December 16, 2012 03:09AM

Many thanks Loso_Fresh!

I´ll try it in the morning, it´s 03.10 am here. smiling smiley

Options: ReplyQuote
Re: WampServer on Win8
Posted by: Loso_Fresh (---.mco.bellsouth.net)
Date: December 16, 2012 03:16AM

Wow, im 6 hours behind. Let me know how it goes.

Options: ReplyQuote
Re: WampServer on Win8
Posted by: RiggsFolly (---.as13285.net)
Date: December 16, 2012 04:49PM

macdjerf,

Dont do all those change.

You only need to do the

Listen 0.0.0.0:80
change to httpd.conf

This will tell apache to only listen to the IPV4 range of addresses. W8 has IPV4 and IPV6 turned on by default. I think your problem is that Apache is listening on IPV6 but you have not localhost configured for the IPV6 range.


UNDER NO CIRCUMSTANCES SHOULD YOU DO THIS:
[1]
LINE 188, or search "FollowSymLinks"
-original

<Directory />
Options FollowSymLinks
AllowOverride None
Order deny, allow
Deny from all
</Directory>

-change to
<Directory "c:/wamp/apps/phpmyadmin3.4.5/">
Options FollowSymLinks Multiviews
AllowOverride all
Order deny,allow
Deny from all
</Directory>

The -original part of the suggestion stops access to the root folder of the drive you installed wamp into. THIS IS A GOOD THING.


Also DONT DO CHANGE 2

If you change the Listen to 0.0.0.0:80 you do not need to add the ::1 ip address to the allow list as this is the IPV6 localhost address and you just told apache to ignore all IPV6 addresses by using the Listen 0.0.0.0:80 parameter.

In other words Loso took a scatter gun approach that just happened to get him running rather than marksmen approach.

Options: ReplyQuote
Re: WampServer on Win8
Posted by: macdjerf (---.bredband.comhem.se)
Date: December 16, 2012 06:48PM

Hi!

It´s a bit confusing: I did the changes instructed by you Loso and I got the start up page, but as I changed to your instructions Riggs I got msg can´t reach server try again. Do I risk anything by having the IPV6 instructions?

Please come back and tell me what to do!

Options: ReplyQuote
Re: WampServer on Win8
Posted by: Loso_Fresh (---.mco.bellsouth.net)
Date: December 16, 2012 06:48PM

Scatter gun approach..really? Glad youre the marksman. I was trying different configurations and this was the method that worked on my computer which i clearly stated.

Options: ReplyQuote
Re: WampServer on Win8
Posted by: stevenmartin99 (Moderator)
Date: December 16, 2012 06:49PM

oh it will work alright, it will also be easy to hack smiling smiley


that first section of code is to DENY ALL ACCESS TO EVERY FOLDER , and then you start Allowing sections

by doing what you did, you removed the section setting all folders securly

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



Edited 1 time(s). Last edit at 12/16/2012 06:52PM by stevenmartin99.

Options: ReplyQuote
Re: WampServer on Win8
Posted by: macdjerf (---.bredband.comhem.se)
Date: December 16, 2012 06:59PM

Hi again!

So what do I do?

Options: ReplyQuote
Re: WampServer on Win8
Posted by: Loso_Fresh (---.mco.bellsouth.net)
Date: December 16, 2012 07:02PM

With Riggs instructions, you are not pointing your server to the right place. You should be fine with my setup. Have you encountered any issues? I've installed Wordpress and have already set up two sites which are working just fine without any issues.

Riggs, please indicate what the issues are with my setup instead of trying to bash my methods because clearly you did not test your set up. This post is to try to help MACDJERF solve the issue.

Options: ReplyQuote
Re: WampServer on Win8
Posted by: macdjerf (---.bredband.comhem.se)
Date: December 16, 2012 07:06PM

Hi!

I´ll redo the changes just to make sure I' didn't foul anything else up. smiling smiley

Options: ReplyQuote
Re: WampServer on Win8
Posted by: stevenmartin99 (Moderator)
Date: December 16, 2012 07:09PM

no i will be deleting this Entire Thread,

i cant allow these bad security issues

Riggs is EXACTLY right.

Loso you are wrong, please read what i wrote above, you have opened up your server to possible security issues

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



Edited 1 time(s). Last edit at 12/16/2012 07:10PM by stevenmartin99.

Options: ReplyQuote
Re: WampServer on Win8
Posted by: RiggsFolly (---.as13285.net)
Date: December 16, 2012 07:09PM

Loso,

Well i am clearly stating that it was a BAD solution. Please do not propergate it,


macdjerf,

Using IPV6 is fine.

However if you change the Listen 80 to Listen 0.0.0.0:80 in httpd.conf you are telling Apache to ONLY LISTENING TO IPV4 addresses, so there is no point in adding the ::1 address to the Allow from command as ::1 is the default IPV6 localhost address.

Allow from 127.0.0.1 ::1


The important thing is not to open your whole system up to being hacked, i.e. Loso's Change1.

What happens when you use
http://127.0.0.1
in your browsers address field?

Options: ReplyQuote
Re: WampServer on Win8
Posted by: stevenmartin99 (Moderator)
Date: December 16, 2012 07:12PM

and Loso if your wondering what we are talking about it is this code

FROM

<Directory /> 
Options FollowSymLinks 
AllowOverride None 
Order deny, allow 
Deny from all 
</Directory>
TO
<Directory "c:/wamp/apps/phpmyadmin3.4.5/"> 
Options FollowSymLinks Multiviews 
AllowOverride all 
Order deny,allow 
Deny from all 
</Directory>


DO NOT MAKE THESE CHANGES!!!!

If somebody made this STUPID Change , they would just block phpmyadmin from working, but EVEN worse than that, you have not set a DENY on every folder first

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



Edited 5 time(s). Last edit at 12/16/2012 07:15PM by stevenmartin99.

Options: ReplyQuote
Re: WampServer on Win8
Posted by: Loso_Fresh (---.mco.bellsouth.net)
Date: December 16, 2012 07:17PM

OK so where is the solution because none of these work..securely

Options: ReplyQuote
Pages: 12Next
Current Page: 1 of 2


Sorry, only registered users may post in this forum.