D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] Apache directory cgi mapping



Hi there

I run an apache web server on RedHat 7.1 what I want
to know is:

Is there any way of mapping directorys to cgi
programs?
e.g
I want http://foo.bar.com/info/ to access real
documents in my /foobar/info/ directory
BUT!!
I want http://foo.bar/dynamic/ to access my
dynamic.cgi script.

What this dynamic.cgi script will do is output
formated records etc.. from my MYSQL database as
webpages.

EG
lets say I have a record structure thus:
userdata(username, webpage_data)
we will treat user name the key field

the following url:
http://foo.bar.com/dynamic/james/
will output the webpage_data field were username
equals 'james'.

I hope you have got the picture

Any help would be much apreciated

Regards Jody Salt
(In a couple of months time I will have server that
needs hardening to hackers, which I will give as a
hacking project to people who want to test there
skills; providing they tell me how they got in etc so
I make the nessarserry patches)

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly