Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-29-2005, 09:18 AM   #1
LQ Newbie
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
Apache - Website Redirection Help


I am running a script called perldesk on Apache 2 on a private lan.

I want to end users to pull up pdesk.cgi located in the cgi-bin when they pull up the main domain.

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.


Chris B.
Old 09-29-2005, 09:36 AM   #2
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193

Rep: Reputation: 31
Probably the easiest way to do this is to create a standard index.html file that redirects the person to the .cgi script.

The redirect can be done with either a META tag, or with javascript. Both are pretty easy to do, and are well documented many sites on the internet.

The meta redirect uses this format:
<meta http-equiv="refresh" content="3; url=">
Old 09-29-2005, 03:45 PM   #3
LQ Newbie
Registered: Sep 2005
Posts: 2

Original Poster
Rep: Reputation: 0
LOL, I actually did this a few hours back before you posted. It was quite easy.

Thanks for the reply.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Website redirection script PdotROSS Linux - Networking 1 09-09-2005 01:39 PM
Redirection in Apache gonzo22 Linux - Networking 5 02-12-2005 10:54 AM
Apache redirection question... WeNdeL Linux - Software 2 04-01-2004 11:48 AM
Apache - Redirection problem... elitecodex Linux - Software 5 03-29-2004 11:12 PM
apache redirection failing acid_kewpie Linux - Networking 2 08-15-2002 05:29 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration