LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 08-18-2009, 05:57 PM   #1
uglyoldbob
LQ Newbie
 
Registered: Sep 2008
Posts: 5

Rep: Reputation: 0
apache redirect to a different subdomain


I am running an apache web server to provide panorama viewer support (PanoSalado - flash) to my website. It is running on pano.doorsphotography.com. The viewer works fine as long as the images are local images.
The images I want to load with the viewer are on a seperate subdomain (http://www.doorsphotography.com/phot...0_XCanD-Th.jpg).

I tried adding this to the directives, but only had partial success.
RedirectPermanent /photos "http://www.doorsphotography.com/photos"

When I browse to pano.doorsphotography.com/photos/617450990_XCanD-Th.jpg, it takes me to http://www.doorsphotography.com/phot...0_XCanD-Th.jpg and I see the image.

When I tell the panorama viewer (running in the web root) to access /photos/617450990_XCanD-Th.jpg, it doesn't work.

EDIT: I created two pages to show working and not working.
pano.doorsphotography.com/test (local image)
pano.doorsphotography.com/test2 (load the image using the redirect)
pano.doorsphotography.com/photos/617450990_XCanD-Th.jpg (redirect link to the photo)

Last edited by uglyoldbob; 08-18-2009 at 06:10 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache httpd.conf Redirect Subdomain firefly2442 Linux - Server 4 05-10-2012 03:05 AM
mod_rewrite: redirect depending on subdomain mysql_connect Linux - Server 1 08-01-2007 06:23 AM
Apache 1.3.33 and subdomain fai Linux - Software 1 07-15-2005 03:49 AM
subdomain and apache ziggie216 Linux - Newbie 1 11-12-2003 02:36 PM
Subdomain and apache! eXor Linux - Networking 1 10-13-2002 05:49 PM


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

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration