Alias /db "D:sqldatabackups"
Options Indexes FollowSymLinks MultiViews
Deny from localhost
Allow from all
Hope this helps
I had spare VPS server that I could use for the purpose.
First step to set up Apache on the Linux server,
The site was in ASP, was indexed in Google, with Page Rank, so I didn’t want to change the URLs, so I wanted to use mod_rewrite,
which I installed using Putty:
root@vps ~ # a2enmod rewrite
Module rewrite installed; run /etc/init.d/apache2 force-reload to enable.
root@vps ~ # /etc/init.d/apache2 force-reload
Forcing reload of web server (apache2)… waiting .
I then created a .htaccess file in the website root
RewriteRule ^(.*).asp$ /$1.php [L,NC,R=301]
Which rewrites all .asp requests to .php
I then changed the extension of all .asp files to .php,
<!–#include file="header.asp"–> to <?php include("header.php"); ?>
Oh, and I had a few glitches with case-sensitivity, which Windows is less strict about.