The website declined to show this webpage
Posted by: chersull_99 (---.c3-0.eas-ubr2.atw-eas.pa.cable.rcn.com)
Date: February 05, 2014 03:42PM

I am trying to get WAMP/PHP running side by side with IIS on our webdev server. I have the index.php displaying locally by entering [localhost] and all of my IIS stuff still works, so if I go to [webdev1] from another machine I get the default.htm page as I should. My question is how do I get my index.php page to display from another machine when I enter [webdev1]? Or when I enter anything, I'm not picky. Currently this error, The website declined to show this webpage, is the closest I've gotten. Also I built a home.php page that I can display locally with [webdev1], but same error - The website declined to show this webpage - from another machine. Sounds like a permissions thing, but I'm really stuck. Any advice is appreciated. Thank you -

Options: ReplyQuote
Re: The website declined to show this webpage
Posted by: chersull_99 (---.c3-0.eas-ubr2.atw-eas.pa.cable.rcn.com)
Date: February 05, 2014 03:48PM

Sorry, more information. Running WAMP 2.4.4 on a Windows Server 2003 R2 x64 machine w/ SP2. My WAMPServer icon in the system tray is green.

Options: ReplyQuote
Re: The website declined to show this webpage
Posted by: chersull_99 (---.c3-0.eas-ubr2.atw-eas.pa.cable.rcn.com)
Date: February 05, 2014 03:56PM

Oh good GOD...I got it. Murphy's law - the minute you post something you'll find the answer - just had to comment out the "Deny from all" line in httpd.conf and it works fine. Thanks for reading...hope this helps someone.

DocumentRoot "c:/wamp/www"
<Directory "c:/wamp/www">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# [httpd.apache.org]
# for more information.
#
Options Indexes FollowSymLinks

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride All

#
# Controls who can get stuff from this server.
#
# Require all granted
# onlineoffline tag - don't remove
Order Deny,Allow
# Deny from all
Allow from 127.0.0.1
Allow from ::1
Allow from localhost
</Directory>

Options: ReplyQuote
Re: The website declined to show this webpage
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: February 05, 2014 05:23PM

Actual solution is to make following changes

# onlineoffline tag - don't remove
Require local
Require ip 192.168.0
</Directory>

This is the new Apache 2.4.x syntax

Require local covers 127.0.0.1, ::1 and localhost
Require ip 193.168.0 allows any ip on that subnet to access apache. Just check what your subnet is!


Actually you would be well advised to check out this post [forum.wampserver.com] which describes how to fix a few hiccups in the 2.4 release. Do them one change at a time and make sure wamp starts cleanly after each change, most people make a small error somewhere and then its all my fault.

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