LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-06-2006, 05:07 AM   #1
Braynid
Member
 
Registered: May 2006
Location: Romania
Distribution: CentOS
Posts: 140

Rep: Reputation: 15
Simple Apache2 problem


Hey,
I have this simple problem with one of the pages hosted on my apache2 server (on ubuntu rc 6.06)

All I want to do is make the link www.server.com/test redirect to www.server.com/test.htm

i have tried:
Code:
Alias http://server/chat http://server/chat.htm
in apache2.conf

and when i do in my browser: www.server.com/chat i get:
Code:
<center><iframe src="http://www.chatcreator.com/chatbox/mychat.php?id=xxx" width="500" height="500" scrolling="no"></iframe></center>
(These are the lines in the chat.htm file)

Witouth the above line when i try www.server.com/chat.htm it works, but i what to type www.server.com/chat not www.server.com/chat.htm

I have tried http://apache.org but no luck.
Please help?!

Last edited by Braynid; 11-06-2006 at 05:14 AM.
 
Old 11-07-2006, 03:21 PM   #2
vwvr9
Member
 
Registered: Feb 2005
Distribution: OpenSuse 10.1 / Centos 4.4
Posts: 60

Rep: Reputation: 15
You can do this in the .htaccess file.

O maybe for the first scenario you can have a index.htm with redirection scripts to point to the chat.htm
 
  


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
Apache2 problem manicman Linux - Server 2 10-30-2006 02:44 PM
SuSe Apache2 error: cannot adjust 'apache2' service sir_shunt SUSE / openSUSE 14 04-18-2006 12:36 PM
Apache2 problem unkn0wn Debian 12 04-08-2006 02:48 AM
how to uninstall apache2 which is installed by emerge apache2 flybirdlong Linux - Software 1 07-17-2004 12:46 PM
How to do a simple Apache2 server in SuSe 9.0? vdogvictor Linux - Newbie 4 03-24-2004 09:01 PM


All times are GMT -5. The time now is 11:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration