How do I set up a redirect from a subdomain to a specific path in my site?

Running OS X Tiger Server 10.4.11 (all latest updates).
For our online Web site we want to be able to allow users to type in a simple URL to get to our sign-in page which has a terribly long URL.
User types http://signin.ourdomain.com ---> goes to ---> http://www.ourdomain.com/cj/priv/auth/signin.php
Here is what I have tried so far:
1) Set up an "A" record with host name "signin" pointing to the IP address of this Web server in our DNS.
2) Set up 2 redirects (just in case) in Server Admin that look like this:
Redirect http://signin.ourdomain.com http://www.ourdomain.com/cj/priv/auth/signin.php
Redirect signin.ourdomain.com http://www.ourdomain.com/cj/priv/auth/signin.php
This seems to be right, but I cannot get it to work. Im missing something here. Typing http://signin.ourdomain.com simply takes me to http://www.ourdomain.com and not to the full path set up in the redirect.
I seem to be missing something here??? I've restarted Apache to ensure the changes take effect (restart graceful) but I still am not taken to the URL I want in the redirect.

Camelot,
I had the same idea last night (late) while I was stressing about getting this working. I tried the exact setup you mentioned and it still does not work. I am baffled!
Here is what I have:
1) An "A" record in my DNS with host = "signin" and IP address the same as my www.mydomain.com address
2) In Server Admin, created a new Web site called "signin.mydomain.com" with the Domain Name=signin.mydomain.com, same IP address as the www site, port 80.
3) set its document root to "/Library/WebServer/Documents/signin" which is just a subdirectory in my doc root. I even have an index.html file there that also does a redirect!
4) Added a redirect under the "Aliases" tab with the following: Style=Redirect, Pattern= / , Path=http://www.mydomain.com/cj/priv/auth/signin.com .
What baffles me to no end is that I even set up an index.html file in the new docroot for signin.mydomain.com that does an HTTP redirect to the signin page and it doesn't work either. It is like all my settings are being ignored by the server??? I made sure there was an entry in the /sites/ directory via terminal to ensure that Server Admin wasn't being flaky, it looks okay.
If I manually type the URL http://www.mydomain.com/signin/ it does the redirect just fine. The "signin" subdomain is active, since it at least takes me to www.mydomain.com, whereas if I entered one that was invalid like monkey.mydomain.com I would get a "failed to open page" error.
This can't be this hard? I must be missing something incredibly simple and stupid in my setup, but for the life of me, It all looks okay to me.

Similar Messages

  • How do i set up wireless printing from my iphone 3GS to my HP Photosmart 5510.

    how do i set up wireless printing from my iphone 3Gs to my HP Photosmart 5510 e-all-in-one series B111-A?  I have a Mac laptop with Snow Leopard

    Hi JCMCCM,
    You can get started with your iPhone by going to this link: http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02796271&cc=us&dlc=en&lc=en&product=5063582&tmp...
    I am an HP employee

  • TA24960 How do you set a user photo from your photo library?

    How do you set a user photo from your photo library?

    What version of OS X are you running?

  • How can i set my calendar start from Monday NOT Sunday like it is now?

    How can i set my calendar start from Monday NOT Sunday like it is now?

    Read this thread: https://discussions.apple.com/message/11501621#11501621
    For example, if you set the Regional format to United Kingdom, the days will be re-ordered but it will have other effects as well which you probably don't want.

  • How do I set up email addresses from my address book?

    How do I set up email addresses from my address book?

    I'm not sure exactly what you are asking.  If you are coming from pre-Mountain Lion, then Address Book has changed to Contacts.
    Open Contacts.
    Select an Account in the group list, if you want the contact in a specific group. If Groups aren't showing, you can display them from the View menu.
    Click the Add card button ( + ).
    Enter the information for the contact.
    If you need multiple entries for a particular field type, a new blank entry will show up below the one you are adding.
    If you need other fields, use the Card menu to Add a new field type.
    If you want to change the default fields available when you create a new card, choose Edit Template…
    If you have sent emails to someone and you want to get that address to add to a Contact, use the Previous Recipients command in the View menu in Mail.
    If you need to add a new Group, hover the cursor over the account name, and a + button will appear. Click it.

  • How do I set up birthday reminders from contacts? OS X 10.10.1

    How do I set up birthday reminders from contacts? OS X 10.10.1

    If you have birthdays setup in your Contacts app:
    iPhone/iPad/iPod:
    1. Check Settings > Mail, Contacts, Calendars > Default Alert Times > Birthdays > set your default time here.
    2. In Calendar app > Calendars (bottom centre)  > OTHER > make sure Birthdays is selected.
    Mac:
    Calendar app > Preferences... >
         General > Show Birthdays calendar > make sure it is selected.
         Alerts > Birthdays > set your birthdays default time here

  • HT204023 How do I set up to print from my iPad directly to a wi-fi direct printer WITHOUT going through my household  wi-fi network/modem?

    How do I set up to print from my iPad directly to a "wi-fi direct" printer WITHOUT going through my household wi-fi network/modem? I want to get rid of my household internet service/modem and only use my iPad, but need to be able to print. Please help! Thank you!

    Depending on the printer, you may be able to connect/print by creating an ad-hoc (Wi-Fi direct with no router) connection. Check with your printer manufacturer to see if this is supported.
    There's a ton of info out there. You could google "ipad print ad-hoc" for some useful info. But the number one thing for you right now is to verify that your printer model supports an ad-hoc connection.

  • Hard drive crashed, how do I set up itunes sync from iphone with new computer?

    hard drive crashed, how do I set up itunes sync from iphone with new computer?

    hard drive crashed, how do I set up itunes sync from iphone with new computer?

  • How do I set a Phase Listener to only run for a specific page?

    How do I set a Phase Listener to only run for a specific page?
    I understand that a Phase Listener runs for ever page in the application, however I want a phase listener to only run for one page at the beginning of the application.
    I discovered I can't use a Filter, because the JSF Application instance always returns null.
    Thus, I thought a Phase Listener would be a good approach.
    Thoughts?
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I have moved forward with checking the requested URI...
    (shivers)
    Thanks,
    --Todd                                                                                                                                                                                   

  • How to pass on variables while redirecting from BSP to HTML  page.

    Hi all,
    I have two BSP pages - BSP1, BSP2.  When I click a submit button on BSP1, it should call BSP2 wherein BSP2 will work silently behind the scenes and redirect some variable values through hidden form fields to BSP1 back. 
    User will not see BSP2 in fact.  He just deals with BSP1, but when he clicks the submit button on BSP1, it silently calls BSP2, and then BSP2 will process something behind the scenes and sends back values through hidden form fields to BSP1 by means of redirection. After redirection from BSP2 to BSP1, I am not getting the hidden fields in BSP1.  From the BSP1, I am trying to get the hidden fields of BSP1 using:
    Here is how my code in BSP2 (redirecting to BSP1) looks like:
    <b>BSP2 : Layout:</b>
    <input type="hidden" name="hf1" value="vicky">
    <b>BSP2 : OnInitialization:</b>
      response->redirect( url_BSP1 ).
      navigation->response_complete( ).
    But when I am doing this, the hidden form fields from BSP2 are not being passed to BSP1 back.
    I am trying to get the form values <b>in BSP1</b> as below:
    <b>BSP1 : Layout:</b>
       <%
       data:  hfield type string.
       hfield = request->get_form_field('hf1').
       %>
    I even tried the above code in onRequest, and onInitialization sections.  But I am getting nothing.
    Please give me some ideas on how to deal with the redirection and get the hidden values out of that.
    Thanks in advance.
    Cheers,
    Vicky.

    Hi,
    There are different ways to do it, but let's pick this one. It closes the popup. If you need additional things to be done, you can make a form with all hidden fields, submit that form, do the same close and do whatever you need in the inputprocessing
    <html>
      <head>
    <title>title</title>
          <script language="javascript">
              function init() {
              <%if count eq 1.%>
                  opener.document.form.F<%=field%>.value = '<%=value.%>';
              close();
             <%else.%>
          <%endif.%>
          </script>
      </head>
      <body onLoad="init();">
    </body>
    </html>

  • How do i set up the eprint from my blackberry so i can send emails to my printer and print them off

    how do i set up eprint on my blackberry so i can send emails from my phone to the printer and print off

     Hi Tanya_Carroll,
    You can follow this link to set up ePrint. 
    http://h71028.www7.hp.com/hho/us/en/ep/articles/setting-up-mobile-printing.html
    Once ePrint is setup, you can send an email to the printer's email address.
    Be sure to use one of these email clients when sending to the printer.  If the Blackberry will not send using your original email address, setup a new email account on the Blackberry and try again.
    Hotmail, Yahoo! Mail, Gmail
    BlackBerry mail clien
    Although I am an HP employee, I am speaking for myself and not for HP.
    If I have resolved your issue, feel free to provide Kudos and make sure you mark this thread as solution provided.

  • How can I set automatically downloaded songs from iTunes on an existing playlist?

    Hi! I have downloaded songs from itunes in my old macbook which appears automatically in the playlist, but when buy a new macbook and downloaded some songs, a new playlist ws created automatically and all recent song i"ve downloaded goes to that playlist, how can I set the song that I download to the old playlist automatically  so I wont edit everytime I download songs, thank

    emerchua wrote:
    a new playlist ws created automatically and all recent song i"ve downloaded goes to that playlist
    Might that new playlist be a smart playlist named something like "Recently Added"?
    Yes, iTunes does create such a smart playlist and uses it to house recently downloaded songs.
    If you want the songs to go to an existing playlist as well, set up the smart playlist to include rule(s) to include the latest additions.

  • How can i set up mail rules from an iPad?

    I am familiar with using rules to filter email.
    From my Mac at home I acces iCloud.com and have no problems.
    I went away for the long weekend, and brought only my iPad.
    I started receiving spam from a new source and wanted to filter it out.
    From safari, when I go to iCloud I only have three choices, none of them useful.
    I have tried to use different URLs but always get redirected to /ipad_welcome/
    Is there a way to do this?
    Or does the post-PC device still need a PC?

    I think there is not a good solution for it (yet). The best solution is to check if you mailserver provides a spam filter solution. I use Gmail and it provides a filter on the serverside. This means the mail is filtered befor I receive it on my iPad (and iPhone). You can also set up a gmail account as a exchange and push all the filtered folders.
    Cheers
    Gmail exchange set up:
    http://support.google.com/mobile/bin/answer.py?hl=en&answer=138740

  • How to change/set the browser title from web forms (XP platform with SP2)

    I am running Form9i, I have set the browser windows title from Web Forms dynamically by using following method. However, when my PC has changed to XP, the function seems not work. Does anybody have same problem and how to solve it? Any suggestions would be appreciated.
    Add the Javascript code to your baseHTML file. For example,
    if you are using the basejini.htm:
    <HEAD><TITLE>%pageTitle%</TITLE>
    <script language="javascript1.2" type="text/javascript1.2">
    function Change(a) {    document.title=a;    } </script>
    </HEAD>
    In web Forms , call the javascript function with WEB.SHOW_DOCUMENT built.
    For Example the following code set the browser title with username . web.show_document('javascript:Change('||'"'|| get_application_property(USERNAME)||'"'||')','_self');
    Best Regards,
    Bowie

    Dear Frank,
    Thanks for your reply. Can you tell me in detail which built-in function in Webutil can set value in browser title ?
    Btw, is it possible for me to set parameter "separateFrame=True" in formsweb.cfg and set the form window title by using SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,TITLE,v_msg_string)?
    Best Regards,
    Bowie

  • How do i set it to boot from disc - lenevo G505s

    basic question : How do i change the boot options to boot from my cd/dvd drive?
    I cannot see this option in the BIOS settings. 
    All i see when i press enter on "Boot priority" is - 1)UEFI first  2)Legacy first 
    please help 
    Solved!
    Go to Solution.

    Hi pramit57,
    Welcome to Lenovo Community Forums! 
    can you check my last post on this thread.
    http://forums.lenovo.com/t5/IdeaPad-Y-U-V-Z-and-P-series/Lenovo-Z500-BIOS-legacy-support/m-p/1123377...
      Make sure all of that are set. After you save and Exit start hitting F12 and it should give you the option to start Boot from CD/DVD.
    Best Regards
    Solid Cruver
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

Maybe you are looking for

  • Why can't I download .zip or .xlsx files to my iPad from a link on a webpage?

    I'm building a website and have one file that is available for people to download in two formats -- .zip and .xlsx. When testing the website in Safari on my iPad, I am unable to download either file. I receive an error message that says "Download Fai

  • Numeric control error handling

    Hi all, I have two question about numeric control. 1) "How to handle invalid inputs?" Let say, I have one numeric control that can only accept 0 to +inf (Range). So negative input will be invalid data input. Whenever I typed the negative value on it,

  • Attach old printer to wireless network?

    Hello, I have an older printer that does not have built-in wireless capability.  This printer was attached to my home network via USB to my desktop...however, my desktop recently passed and I am now looking for suggestions on how to adapt this printe

  • Crystal Reports ActiveX Designer Failed to open document

    Yesterday I created a report in Visual Studio 2008 with about 20 subreports, each subreport containing a single aggregate query (i.e count or sum). I then saved the report file. Hours later when I attempted to reopen the report in Visual Studio I rec

  • Accessing the Content of JMS Message

    Hi, i'm very much a beginner in Java EE so I apologise if the question is overly simple. I have an Enterprise Java Application which consists of an application client a web application and a Message Bean. The application client can send JMS messages