Forum Moderators: phranque
I am running a script called perldesk on Apache 2 on a private lan.
Currently users have to go to http://support.example.org/cgi-bin/pdesk.cgi to pull up the main URL.
I want end users use http://support.example.org and pull up the main link referenced above.
How would I accomplish this. Detailed directions needed...newbie at Linux. I rec'd some info on another forum about mod_rewrite but was unable to setup. Note, this is the only website on this web server so the easiest method would be appreciated.
Thanks,
Chris B.
[edited by: jdMorgan at 4:18 pm (utc) on Sep. 29, 2005]
[edit reason] Examplified. [/edit]
Welcome to WebmasterWorld!
See Apache mod_alias [httpd.apache.org], and the ScriptAliasMatch directive:
ScriptAliasMatch ^/$ /<server_path_to_site_files>/cgi-bin/pdesk.cgi
You could also use mod_rewrite, but the above method is simpler.
Jim