WAMP 2.4.9 - The website cannot display the page - HTTP 500
Posted by: HoibO (---.cncdnh.fast03.myfairpoint.net)
Date: May 14, 2014 02:57AM

I'm still struggling with this installation - about going on 2 weeks and getting nowhere fast.
Here is a snip from http-vhosts.conf:

#
# Use name based Virtual Hosts
#

<VirtualHost *:80>
DocumentRoot "C:/wamp/www"
ServerAlias localhost
<Directory "C:/wamp/www">
AllowOverride All
<IfDefine APACHE24>
Require local
</IfDefine>

<IfDefine !APACHE24>
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 localhost ::1
</IfDefine>
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "C:/wamp/www/VolZone/wp"
ServerAlias VolZone
<Directory "C:/wamp/www/VolZone/wp">
AllowOverride All
<IfDefine APACHE24>
Require local
</IfDefine>

<IfDefine !APACHE24>
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 localhost ::1
</IfDefine>
</Directory>
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "C:/wamp/www/project1"
ServerAlias project1
<Directory "C:/wamp/www/project1">
AllowOverride All
<IfDefine APACHE24>
Require local
</IfDefine>

<IfDefine !APACHE24>
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 localhost ::1
</IfDefine>
</Directory>
</VirtualHost>

A call to localhost works fine. A call to "Project 1" works fine. A call to VolZone does not. VolZone sits on the same level of the directory tree in Win 7 as does Project 1. A folder exists under /VolZone called "wp" and under that is the WP blog I'm trying to get to work on. The file "index.php" sits in /volZone/wp/. The file .htaccess sits in /Volzone/wp and <was> producing the following error: [Tue May 13 19:35:59.800400 2014] [core:alert] [pid 4860:tid 844] [client ::1:55270] C:/wamp/www/VolZone/wp/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration. I moved .htaccess out of that folder, relaunched server, got the much different HTTP error 500. I then moved the .htaccess file back in place and again restarted/relaunched. I now do not get "Invalid command 'RewriteEngine...'" but still get the HTTP 500 Website cannot display the page.

Looking at the apache_error.log, here's the latest lines:

[Tue May 13 20:21:25.883900 2014] [mpm_winnt:notice] [pid 4668:tid 400] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Tue May 13 20:21:27.911900 2014] [mpm_winnt:notice] [pid 3480:tid 324] AH00364: Child: All worker threads have exited.
[Tue May 13 20:21:27.927500 2014] [mpm_winnt:notice] [pid 4668:tid 400] AH00430: Parent: Child process 3480 exited successfully.
[Tue May 13 20:21:28.676300 2014] [mpm_winnt:notice] [pid 4092:tid 400] AH00455: Apache/2.4.9 (Win32) PHP/5.5.12 configured -- resuming normal operations
[Tue May 13 20:21:28.676300 2014] [mpm_winnt:notice] [pid 4092:tid 400] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:13:13
[Tue May 13 20:21:28.676300 2014] [core:notice] [pid 4092:tid 400] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Tue May 13 20:21:28.676300 2014] [mpm_winnt:notice] [pid 4092:tid 400] AH00418: Parent: Created child process 1064
[Tue May 13 20:21:29.456300 2014] [mpm_winnt:notice] [pid 1064:tid 324] AH00354: Child: Starting 64 worker threads.

This shows me no errors that I can see.

Let's look at .htaccess sitting at /Volzone/wp/.....

RewriteEngine On
RewriteBase /wp/
RewriteRule ^index\.php$ - [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]

Don't see any problems here. There is only one other .htaccess file above /wp/ and it sits in /wamp/apps/phpsysinfo3.1.12. I don't think that's affecting this. A check of httpd.conf shows this line is in place:

#LoadModule request_module modules/mod_request.so
#LoadModule reqtimeout_module modules/mod_reqtimeout.so
LoadModule rewrite_module modules/mod_rewrite.so
#LoadModule sed_module modules/mod_sed.so
LoadModule session_module modules/mod_session.so

Can't see an issue here either.



Why virtual servers? I was instructed to use Virtual Server by RiggsFolly in a screensharing session recently so I stuck with that approach.

So, I do not understand why "Project 1" works and VolZone does not. Is it because /wp/index.php is the wrong file? I thought all WP blogs had to start from that index.php file. Am I wrong and am I calling the wrong file? I don't think so. There's no reason I can see why this isn't working.

Would someone else care to look this over please and let me know if I'm close, if I've got the wrong folder structure for the server to work with, or if there are other considerations I may have overlooks. Oh, I did uninstall and reinstall WAMP twice during all of this.

Options: ReplyQuote
Re: WAMP 2.4.9 - The website cannot display the page - HTTP 500
Posted by: HoibO (---.cncdnh.fast03.myfairpoint.net)
Date: May 14, 2014 12:56PM

No need to go further with this. I wound up having to download a fresh copy of WP and start all over with that. Apparently it is much too difficult to simply plop a copy of your old files into WAMP and have it work.

H

Options: ReplyQuote
Re: WAMP 2.4.9 - The website cannot display the page - HTTP 500
Posted by: RiggsFolly (---.as13285.net)
Date: May 27, 2014 03:39PM

Not actually that difficult but you need to know what you are doing.

---------------------------------------------------------------------------------------------
(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.