Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

Unable to access directory outside Virtual Host (no replies)

$
0
0
Hello!

We're using WAMP to serve up a compliance website that we are working on. Basically the structure is this:

\wamp64\www\compliance
-index.php

\wamp64\www\includes
-compliance_style.css
-compliance-sidebar.php
-dbh.inc.php


Inside the index.php, we call the compliance-sidebar.php, which does not load and the compliance_style.css file is not processed.


Here is our http-vhosts:

# Virtual Hosts
#
<VirtualHost *:80>
ServerName compliance
DocumentRoot "c:/wamp64/www/compliance"
</VirtualHost>
<Directory "c:/wamp64/www/compliance/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>

#
<VirtualHost *:80>
ServerName includes
DocumentRoot "c:/wamp64/www/includes"
</VirtualHost>
<Directory "c:/wamp64/www/includes/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>

#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
</VirtualHost>
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Allow From 192.168.0
Allow from 10.10.40
</Directory>

Any thoughts on what I might be doing wrong?

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>