PDA

View Full Version : Make alias of /usr/lib/cgi-bin/chat in /var/www (how?)


Xarok
October 15th, 2007, 05:59 PM
I want to run a small chatroom on my site that uses simple cgi scripts, which I have located in the directory /usr/lib/cgi-bin/chat

I've read that in order to have it on my site I should make an alias to my chat scripts in my web root directory.

How can I do this?

Thanks for any help you can give me

Peace

falcon15500
October 15th, 2007, 09:00 PM
I always get the order of the arguments mixed up, but perhaps:

ln -s /usr/lib/cgi-bin/chat /var/www/chat

falc

Brazen
October 15th, 2007, 11:50 PM
If you look in /etc/apache/sites-available/default
there is already an example of alias-ing in a cgi-bin directory.