Web Hosting Talk







View Full Version : Creating a /viewstats dir alias for every account on Cobalt 4i


scooter41
07-27-2003, 09:38 AM
Hi there,

I have recently installed phpmyadmin on my cobalt raq4i, and cleverly for every account it redirects /phpmyadmin to the same place on the server. I am trying to replicate this.

My server IP is 216.12.214.5 and I would like every account on that server, to have an alias of /viewstats to go a certain link

for example

www.mysite1.com/viewstats and
www.mysite2.com/viewstats

all go to 216.12.214.5/cgi-bin/awstats.pl for example

Is this easy to set up??

psi
07-28-2003, 04:21 PM
Open /etc/httpd/conf/srm.conf and add...

Alias /viewstats /local/path/to/cgi-bin/awstats

Restart apache... You get the idea!