Download your favorite Linux distribution at LQ ISO.
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 01-21-2009, 05:14 PM   #1
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
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.


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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:21 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
Open Source Consulting | Domain Registration