LinuxQuestions.org
Help answer threads with 0 replies.
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 01-21-2009, 05:14 PM   #1
keita_mog
LQ Newbie
 
Registered: Sep 2008
Posts: 11

Rep: Reputation: 0
Another Apache-Alias problem :(


Hi everyone! I have a server with Apache2 and Websphere. I have a working page that has 2 frames (xxx.html and yyy.jsp) that is accessed by http://xxx.yyy.zzz/mar/chec/htm/frame.html , but now I was asked to 'reduce' that long address into a simpler one, so I went to the httpd.conf and added something like this:

#
# Aliases: Add here as many aliases as you need (with no limit). The format is
# Alias fakename realname
#
# Note that if you include a trailing / on fakename then the server will
# require it to be present in the URL. So "/icons" isn't aliased in this
# example, only "/icons/"..
#

Alias /sgche /home/mar/web/chec/htm


so that when I go to http://xxx.yyy.zzz/sgche/frame.html, it could be redirected as the one mentioned above. The upper frame (.html) works, including all references to images, etc, the problem is that the lower frame (.jsp) throws a "Internal Server Error"...Is putting an Alias in the httpd.conf a wrong approach?
 
Old 01-23-2009, 08:01 AM   #2
niknah
Member
 
Registered: Dec 2002
Location: In front of a computer
Distribution: UPS, DHL, FedEx
Posts: 466

Rep: Reputation: 38
How is the .jsp handled?
Does it get forwarded to some external tomcat process? If so you'll need to either move the jsp in the tomcat or setup something in tomcat to forward the new url to the existing jsp.
 
  


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
Apache alias problem Exterus Linux - Software 2 02-18-2008 09:44 AM
Serving files via alias or linked folders in Apache (possible mount problem) slewis78 Linux - Server 2 05-29-2007 01:06 AM
apache alias help knockout_artist Linux - Server 4 04-26-2007 09:42 PM
Apache Alias Problem dave`2005 Linux - Software 6 06-02-2006 05:18 PM
apache alias problem kausti Linux - Networking 3 11-06-2004 07:58 PM

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

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

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