LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

Rep: Reputation: 0
Apache - Website Redirection Help


ello

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.

Thanks,

Chris B.
 
Old 09-29-2005, 08:36 AM   #2
looseCannon
Member
 
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=http://www.coloradocollege.edu/dept/PC/WhatWorks2004/web%20pages/Home.htm">
 
Old 09-29-2005, 02:45 PM   #3
cbarone2005
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.
 
  


Reply



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 12:39 PM
Redirection in Apache gonzo22 Linux - Networking 5 02-12-2005 09:54 AM
Apache redirection question... WeNdeL Linux - Software 2 04-01-2004 10:48 AM
Apache - Redirection problem... elitecodex Linux - Software 5 03-29-2004 10:12 PM
apache redirection failing acid_kewpie Linux - Networking 2 08-15-2002 04:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:54 PM.

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