WebPagetest Forums

Full Version: Problem in creating private instance
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I'm trying to create Webpagetest private instance on windows machine.
I'm using Apache version 2.4, PHP version 7 and WPT version 3 .
The WPT configuration in apache config file is the following one:

DocumentRoot "C:/wpt-www/"
<Directory />
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory "C:/wpt-www/">
AllowOverride all
Require all granted
</Directory>
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>


When I'm going to 127.0.0.1 I see the page "It works" instead of WPT page.
Here is the logs:
[i][Wed Nov 08 17:08:38.199338 2017] [mpm_winnt:notice] [pid 9116:tid 692] AH00455: Apache/2.4.29 (Win64) PHP/7.1.11 configured -- resuming normal operations
[Wed Nov 08 17:08:38.199338 2017] [mpm_winnt:notice] [pid 9116:tid 692] AH00456: Apache Lounge VC15 Server built: Nov 3 2017 11:12:00
[Wed Nov 08 17:08:38.199338 2017] [core:notice] [pid 9116:tid 692] AH00094: Command line: 'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24'
[Wed Nov 08 17:08:38.199338 2017] [mpm_winnt:notice] [pid 9116:tid 692] AH00418: Parent: Created child process 6336
[Wed Nov 08 17:08:38.574343 2017] [mpm_winnt:notice] [pid 6336:tid 712] AH00354: Child: Starting 64 worker threads.
[/i]

When I change the WPT section to:
DocumentRoot "C:/wpt-www/"
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<Directory "C:/wpt-www/">
AllowOverride all
Order allow,deny
Allow from all
</Directory>
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>


I get error: You don't have permission to access / on this server. with the following errors:
[Wed Nov 08 17:17:04.765500 2017] [mpm_winnt:notice] [pid 9612:tid 292] AH00455: Apache/2.4.29 (Win64) PHP/7.1.11 configured -- resuming normal operations
[Wed Nov 08 17:17:04.765500 2017] [mpm_winnt:notice] [pid 9612:tid 292] AH00456: Apache Lounge VC15 Server built: Nov 3 2017 11:12:00
[Wed Nov 08 17:17:04.765500 2017] [core:notice] [pid 9612:tid 292] AH00094: Command line: 'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24'
[Wed Nov 08 17:17:04.765500 2017] [mpm_winnt:notice] [pid 9612:tid 292] AH00418: Parent: Created child process 1460
[Wed Nov 08 17:17:05.203017 2017] [mpm_winnt:notice] [pid 1460:tid 700] AH00354: Child: Starting 64 worker threads.
[Wed Nov 08 17:17:08.722004 2017] [access_compat:error] [pid 1460:tid 1208] [client 127.0.0.1:50238] AH01797: client denied by server configuration: C:/Apache24/htdocs/


Can anyone please help?
Thank you!
This appears to be more of an Apache issue than a WPT one, have you reached out to apache forums? If this is your first time setting up a new server I'd suggest just trying to get a simple phpinfo() file to load before you tackle WebPageTest
Reference URL's