Wamp Online (green) but 404 errorpage shows up
Posted by: LivingThis (---.cm-6-8b.dynamic.ziggo.nl)
Date: May 07, 2015 09:17AM

I have wamp online, green.

Since I downloaded wordpress this week I have a 404 errorpage when I go to localhost in the browser.

I think it might be related to downloading wordpress.

Is it possible wordpress runs under a specific port which is the same as localhost?

Should I change the port settings in httpd.conf or those of wordpress?

Options: ReplyQuote
Re: Wamp Online (green) but 404 errorpage shows up
Posted by: Otomatic (Moderator)
Date: May 07, 2015 09:28AM

Hi,

You need to use VirtualHost : [forum.wampserver.com]

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Wamp Online (green) but 404 errorpage shows up
Posted by: LivingThis (---.cm-6-8b.dynamic.ziggo.nl)
Date: May 07, 2015 11:15AM

OK thanks for posting the link Otomatic

I'm reading it now but I dont get what is meant with require local. This is explained in the Small Aside section but what is exactly the purpose and how does it operate?

Options: ReplyQuote
Re: Wamp Online (green) but 404 errorpage shows up
Posted by: Kirk (---.dhcp.stcd.mn.charter.com)
Date: May 07, 2015 04:52PM

Require local

The local provider allows access to the server if any of the following conditions is true:

the client address matches 127.0.0.0/8
the client address is ::1
both the client and the server address of the connection are the same

This allows a convenient way to match connections that originate from the local host:

Further information here: [httpd.apache.org]

Options: ReplyQuote
Re: Wamp Online (green) but 404 errorpage shows up
Posted by: LivingThis (---.cm-6-8b.dynamic.ziggo.nl)
Date: May 07, 2015 08:22PM

Now I have an error after doing httpd -t


H:\wamp\bin\apache\apache2.4.9\bin>httpd -t

[Thu May 07 20:11:10.418707 2015] [core:error] [pid 2112:tid 380] (OS 11001)Host is onbekend. : AH00547: Could not resolve host name *.8080 -- ignoring!
AH00526: Syntax error on line 29 of H:/wamp/bin/apache/apache2.4.9/conf/extra/httpd-vhosts.conf:
Unknown Authz provider: localhost

This is not easy for me to understand because I want localhost to be one of the definitions next to one called wordpress.

Any idea how to solve this?

Options: ReplyQuote
Re: Wamp Online (green) but 404 errorpage shows up
Posted by: Otomatic (Moderator)
Date: May 08, 2015 09:46AM

Hi,

> host name *.8080
Where does this number 8080 port comes from?
After installing Wampserver, ALL ports are number 80.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Wamp Online (green) but 404 errorpage shows up
Posted by: LivingThis (---.cm-6-8b.dynamic.ziggo.nl)
Date: May 08, 2015 10:25AM

Skype is also on port 80, this was conflicting when I installed WAMP

Options: ReplyQuote
Re: Wamp Online (green) but 404 errorpage shows up
Posted by: LivingThis (---.cm-6-8b.dynamic.ziggo.nl)
Date: May 08, 2015 10:40AM

I removed the require local directive

I checked with httpd -t

it said synatx ok

BUT!!!!!

Still the wamp icon is orange and now the server is offline

Options: ReplyQuote
Re: Wamp Online (green) but 404 errorpage shows up
Posted by: Otomatic (Moderator)
Date: May 08, 2015 10:43AM

Hi,

80 is the default port for HTTP protocol.
You must change the port used by Skype.
I do not use Skype, but it is in the Options or Parameter of Skype :
Uncheck: Use ports 80 or 443 as alternate ports
or
Check : Do not use port 80 or 443 as alternate port
It depends of the version of Skype.

Note:It is not enough to change the port in the VirtualHost, there are other changes to make for Apache to use a port other than 80.
And in this case, ALL url must always be of the form:
(http://localhost: 8080/) or (http://mysite:8080/)
This is a very bad solution.



Edited 1 time(s). Last edit at 05/08/2015 10:48AM by Otomatic.

Options: ReplyQuote
Re: Wamp Online (green) but 404 errorpage shows up
Posted by: LivingThis (---.cm-6-8b.dynamic.ziggo.nl)
Date: May 08, 2015 11:32AM

I have windows 8, skype is fully integrated in the latest windows versions. I just read online more developers are complaining about it. You also dont have any possibilty to change the settings. But I'm not familiair with skype.

I had wamp working at port 8080. I prefer to keep on doing that.

Options: ReplyQuote
Re: Wamp Online (green) but 404 errorpage shows up
Posted by: LivingThis (---.cm-6-8b.dynamic.ziggo.nl)
Date: May 08, 2015 11:51AM

After changing Listen directives in the httpd.conf I can now achieve with: 127.0.0.1:8080.


This works for me now.

But its not the perfect solution unfortunately.

Options: ReplyQuote
Re: Wamp Online (green) but 404 errorpage shows up
Posted by: LivingThis (---.cm-6-8b.dynamic.ziggo.nl)
Date: May 08, 2015 12:30PM

Very strang I lost connection again. The icon is now again orange After changing the httpd.conf with the directive localhost:8080 (later removed) still after removing I could not restart all services.

Options: ReplyQuote
Re: Wamp Online (green) but 404 errorpage shows up
Posted by: LivingThis (---.cm-6-8b.dynamic.ziggo.nl)
Date: May 08, 2015 12:55PM

I found thes last 3 lines in the error log of apache

[Fri May 08 12:22:52.031785 2015] [mpm_winnt:notice] [pid 7964:tid 440] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Fri May 08 12:22:54.038121 2015] [mpm_winnt:notice] [pid 8008:tid 4] AH00364: Child: All worker threads have exited.
[Fri May 08 12:22:54.213238 2015] [mpm_winnt:notice] [pid 7964:tid 440] AH00430: Parent: Child process 8008 exited successfully.

Rebooting or restarting does not work.

Options: ReplyQuote
Re: Wamp Online (green) but 404 errorpage shows up
Posted by: LivingThis (---.cm-6-8b.dynamic.ziggo.nl)
Date: May 08, 2015 01:52PM

I also checked the apache logs on windows giving me the following errors

The Apache service named

reported the following error: >>>
AH00015: Unable to open logs

The Apache service named

reported the following error: >>>
AH00451: no listening sockets available, shutting down

The Apache service named

reported the following error: >>>

(OS 10013)Er is geprobeerd toegang te verkrijgen tot een socket op een volgens de toegangsmachtigingen niet toegestane manier. : AH00072: make_sock: could not bind to address 127.0.0.1:80

Options: ReplyQuote
Re: Wamp Online (green) but 404 errorpage shows up
Posted by: Otomatic (Moderator)
Date: May 08, 2015 02:36PM

Hi,

> You also dont have any possibilty to change the settings.
Search well.
There are necessarily the ability to disable the use of ports 80 or 443 by Skype.
This is Skype which must ensure not to use a port that is reserved to the protocol HTTP and not Wampserver which must be at Skype orders.

This is a Microsoft and Skype problem who appropriated a port whose use is restricted to HTTP servers.
So allow Microsoft to disable the use of the port, but in any way, it is not the responsibility of Wampserver to use a port other than that reserved for the HTTP protocol. Period.


---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons



Edited 1 time(s). Last edit at 05/08/2015 03:05PM by Otomatic.

Options: ReplyQuote
Re: Wamp Online (green) but 404 errorpage shows up
Posted by: LivingThis (---.cm-6-8b.dynamic.ziggo.nl)
Date: May 08, 2015 03:32PM

Maybe I will find the settings for skype one day.

smiling smiley

The apache logs are not clear to me. One of the logs says it is not possible to get acces to the socket. I have the idea it has to do with the permissions as a adminstrator, but I have started wamp as adminstrator.

Options: ReplyQuote
Re: Wamp Online (green) but 404 errorpage shows up
Posted by: Otomatic (Moderator)
Date: May 09, 2015 05:32PM

Hi,

Open Skype if it has not already been launched
Go to Tools –> Options from the dropdown menu
Select “Advanced” in the left-hand column, last option
Select “Connection”
Deselect the option that says, “Use port 80 and 443 as alternatives for incoming connections”
Click Save
Exit and then restart Skype

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.