Am using XAMPP to host my website.....its in a folder in drive C:/ ...... my webpages are in c:/xampp/htdocs.
Always best to include the version you have installedravish4ualways wrote:Am using XAMPP to host my website
You can use an Alias to do this but use a vhost if you have multiple web sites to host on the one server.ravish4ualways wrote:Now i want to redirect a link in the webpage on c:/xampp/htdocs to a folder in another drive (say D:/media) ....how do i go about it??
Change the folder to suit your situation as I have only used the detail you provided in your post.Alias /webalizer "C:/xampp/webalizer/"
php_admin_flag safe_mode off
Alias /media "D:/media/"
Options Indexes +FollowSymLinks Includes ExecCGI
Allow from all
<a href="http://localhost/media/index.html">Click me</a>
<a href="http://xxx.xxx.xxx.xxx/media/index.html">Click me</a>
<a href="http://mydomain.com/media/index.html">Click me</a>
Users browsing this forum: No registered users and 35 guests