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

How to grant access to a specific folder for a specific IP? (1 reply)

$
0
0
Hi,

we have a public domain for an onlineshop with prestashop, I need someone
to check some files from the outside.
How can I grant access to a specific folder for a specific IP?

That is the host cfg, without the SSL specifications (but they are included).

'<VirtualHost *:443>
ServerName www.domain.com
ServerAlias domain.com


DocumentRoot c:/wamp64/www
<Directory "c:/wamp64/www/">
AllowOverride All
#Require all granted
Require local
Require ip x.x.x.x
Options +Includes +FollowSymLinks
</Directory>
</VirtualHost>'

DocumentRoot and Directory has to be different and Require too. But do I need a new host?
Can both co-exist with the same ServerName?

Viewing all articles
Browse latest Browse all 3177

Trending Articles



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