Hi,
If I install C:\Program Files, is there any way I can test my php files without moving them inside htdocs folder? I would rather leave the files here:
D:\Documents\My Webs\website_one\index.php
Would this create a security risk?
Thanks
Erdinç
Alias /mywebs "D:/Docs/My Webs/"
<Directory "D:/Docs/My Webs">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Alias /webalizer "D:/xampplite/webalizer/"
<Directory ...
</Directory>
http://localhost/mywebs should load an index file if located in the D:\Docs\My Webs\ folder.
If you don't want to give access to others, only you on localhost then change the permissions like soerdinc wrote:I hope this doesn't cause a security issue on my computer. I don't want others to access my files.
Alias /mywebs "D:/Docs/My Webs/"
<Directory "D:/Docs/My Webs">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order deny,allow
Deny from all
Allow from localhost
</Directory>
Users browsing this forum: No registered users and 94 guests