How can I make an HTTP redirect in Apache on Mac?

In IIS on Windows, I was making a redirect that when I went to localhost, it would go to localhost/IndigoUnlimited for my site. Now, I am using Apache, and to get to my site on my Mac, I need to type in localhost/~myuser. How can I make a redirect so when I go to localhost it will redirect me to localhost/~myuser?

You'd do this by editing your hosts file. That's actually what was happening when using IIS to set up the redirect. It just had a fancy interface.
A really nice link with in-depth walkthrough, explanation, AND video!
http://osxdaily.com/2012/08/07/edit-hosts-file-mac-os-x/
You can redirect websites locally using the same logic, perfect for setting up test domains

Similar Messages

  • How can I make my PowerPC/Windows programs work in Mac OS X Lion?

    In a few months I will be buying a MacBook Pro and I have a lot of old games that I would like to be able to play on it. But those games are Windows/PowerPC only and Mac OS X Lion does not support PowerPC. How can I make my old programs work in Mac OS X Lion?

    For porting Windows programs to Mac OS X, you can check out Wineskin.  It can be very simple to very hard to do though... its all a case by case basis.  The older the game is the more likely you are to get it to work easily though.

  • How can I make Time-Warner (Roadrunner) mail come to .mac or ME mailbox?

    I've had .Mac for a couple of years to be able to synch 2 computers with iDisc. But now I'd like to use
    the .Mac and/or ME address to make mail addressed to either address come to the appropriate boxes in my Inbox section in Apple Mail. (At present all mail comes to my Road Runner (Time Warner) mailbox within my Apple Mail program.)
    Looking at the Accounts area of the Preferences section of Apple Mail, the only thing I can imagine I've got wrong is the "Incoming Mail Server." For both MobileMe and .Mac.com I've listed it as "mail.mac.com" (for the Road Runner box it's listed as "pop-server.wi.rr.com"). Any ideas appreciated.
    Cap

    I'll refer back to this because Mail is a constant headache, often not functioning or tripling the amount of time due to 3 mailboxes on 3 computers. Haven't come upon a solution. Also, besides Apple Mail, there's my Time Warner Roadrunner account plus the school's account (recently they went from private program to Gmail). I just don't grasp the sub- or super-structure of e-mail, which may be preventing me from gaining coherence and efficiency. I need to discover how to use the KISS principle for stop emailing except off of others' websites.

  • How can I make my MBP be visible to my Mac mini?

    I am on a home network.
    My Mac Book Pro sees my Mac Mini in the finder under devices.
    My Mac mini doesn't "See" my Mac book pro in its' finder.
    This must be a setting on the MBP?

    I figured it out..."tanks fer nuttin Danny"

  • How Can I make redirect caller from agent to any branch IVR?

    I have IPCC Enterprise Edition (ICM 5.0, IVR 3.1)
    How can I make redirect caller from agent to chosen branch IVR, and send with call any variable to IVR (e.g. account number).
    Regards
    Krzysztof

    I would suggest that post-routing should not be used. The way to go is to use translation routing applications. Although post-routing is easy to set up, almost all deployments require translation routing. I can't think of anything good to say about post routing, other than it's trivial to configure.
    You want the main route point to be on the CM_PIM.RC for a number of reasons. You can check to see which of your IVRs are on line, and/or to do load balancing. If calls don't need to go to the IVR if agents are ready, you can have an LAA Select node immediately, and then translation route. Even if you just have one IVR, translation routing will enable you to do RONA more easily.
    You need to bite the bullet and learn translation routing. If you do it that way, peripheral variables attached to the call remain unaffected whether the call is under the control of the CM_PIM.RC or the IVR_PIM.RC. This is exactly what you want.
    There is no need, in my opinion, to go to an external database. In your IVR, decisions made by the caller (e.g. which "skill" they want) set peripheral variables. When the call comes out of this script you check the peripheral variable, and depending on the value do a queue to the appropriate skill group and run external script (BasicQ.aef).
    Separate the intelligence gathering IVR script from the Queuing script. Allow ICM to make the routing decisions.

  • How can I make a intro page for my website, then after the intro has run make the page automatically change to my we site home screen

    how can I make a intro page for my website, then after the intro has run make the page automatically change to my website's home screen

    You can do this using a meta refresh but the problem is you have to add it to the html file for the page very time you publish changes.
    A better way is to create a splash page and upload it to the server outside of the folder produced by iWeb. Example HERE.
    The meta refresh is added to the head section of the html file...
    <meta http-equiv="refresh" content="32;url=http://www.domain.about.com/Page-Name.html">
    The delay time in seconds is marked in blue and the URL to the redirect page is in red.

  • How can I make a custom domain email for my client?

    I have an Adobe Muse subscription, with hosting through Adobe, and the Domain name is also with Adobe. How can I make an email for a particular domain for my client so that it will use a "company email" (even if it just redirects to say a gmail or yahoo that is fine) to read "[email protected]?

    Hello,
    As I can see you have a WebBasic Creative Cloud site, I would suggest you to use GoogleApps for your e-mail services.
    Please have a look at the article which would help you achieve this : http://helpx.adobe.com/business-catalyst/partner/setting-google-apps-email-business.html
    Hope this helps.
    Regards,
    Sachin

  • How can I make mac except capture from my canon xlh1?

    How can I make my imac recognize my canon XL1 Camcorder in Final Cut Express

    Assume you are connected by Firewire, and that FCE has Import in some menu? Also check FCE Forum https://discussions.apple.com/community/professional_applications/final_cut_expr ess_hd?view=discussions.

  • Nokia C3 How can I make sure it only connects thro...

    Ive just got this phone for my daughter on Vodaphone contract, I am really worried however that it is going to randomly connect itself to the internet like my old Nokia 5800 used to! How can I make sure it doesn't, I don't want it to end up costing me a fortune. Many thanks

    Only the website (server or domain) that sets a cookie can read that cookie, but there can be an iframe embedded with a different domain that sets so called third-party cookies.
    You can disable third-party cookies.
    *https://support.mozilla.org/kb/Disabling+third+party+cookies

  • HT4946 how can I make sure that itunes saved my contacts and photos on last back up ?

    How can I make sure that itunes saved contacts and photos FROM my iPhone on last back up ?, i just bought this phone and store transfer contacts from old non-smart phone and dont want to loose them !

    Look in whatever software on your computer handles your contacts and photos. Neither will be part of the backup file. This may be of help:
    http://support.apple.com/kb/HT1296
    Regards.

  • I currently own an iPod 4th gen. but would like to upgrade to a 5th gen. How can I make sure the info on the 4th is transferred and cleaned off before handing it over to my daughter?

    How can I make sure that my info on 4th gen. iPod has transferred to my new 5th gen iPod and all pertinent content deleted before transferring old iPod to my daughter?

    Go to Settings > General > Reset > Erase all content and settings
    Also... See the wjosten post here...
    https://discussions.apple.com/message/20294697

  • How can I make sure iTunes doesn't stop updating my podcasts

    OK I'm subscribed to multiple podcasts, but I don't always get a chance to listen to them so some of them will stop updating and it says something like "iTunes has stopped updating this podcast because you haven't listened to any episodes lately".
    How can I make sure it doesn't do that? When I do get to listen to my podcasts, I would really like it if they weren't 3 weeks old.
    Message was edited by: MacAttakk

    someone made a script that fixes this. It seems to work for me. If you want it to do it automatically just make an iCal even for every 3 days or something that runs this script.
    http://dougscripts.com/itunes/scripts/download.php?sc=updateexpiredpodcasts

  • How can I make an ant file that launches an AS project app in a debug flash player that traces to the flex console?

    How can I make an ant file that launches an AS project app in a debug flash player that traces to the flex console?
    Basically I like the control over the compiling process that I get by using Ant - but I really want traces to come up immediately without having to switch contexts.
    I have an ant file that successfully launches a swf in the flashplayer - but I don't know how to make the flex console start displaying the trace output. I assume that I will have to point it to the appropriate trace output file - but I am not sure how to have ant even address the console.  Is this possible?
    Here is the the target node from my ANT file:
        <target name="launch">
            <exec executable="${FLASHPLAYER_EXE}" errorproperty="trace.output">
                <arg line="'${DEPLOY_DIR}\test.swf'" />
            </exec>
        </target>
    Thanks for any thoughts, or alternatives!

    For the record, I ended up using Logwatcher - it worked perfectly.
    http://graysky.sourceforge.net/

  • How can i make a coppy both side with my hp 6500a plus all in one?

    how can i make a both sides coppy with my hp 6500A plus all-in-one?

    For windows:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02773085&cc=us&dlc=en&lc=en&product=4083977&tmp...
    For MAC:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01935823&cc=us&dlc=en&lc=en&product=4083977&tmp...
    Although I am working on behalf of HP, I am speaking for myself and not for HP.
    Love Kudos! If you feel my post has helped you please click the White Kudos! Star just below my name : )
    If you feel my answer has fixed your problem please click 'Mark As Solution' and make it easier for others to find help quickly : )
    Happy Troubleshooting : )

  • How can i make a free account on a iPad

    How can I make a free account on iPad 2

    How to Get Apps From the App Store Without a Credit Card
    http://ipadhelp.com/ipad-help/how-to-get-free-apps-from-the-app-store-without-a- credit-card/
    Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    http://support.apple.com/kb/ht2534
     Cheers, Tom

Maybe you are looking for

  • Satellite L850 - after 1 year of usage battery runs out quickly

    Hi, through programs such as care or BatteryBar battery battery I see a Toshiba Satellite L850 *battery wear from 48%* currently. I notice that playing a game the battery runs out quickly, as the warm up by a lot, and often descalibra and behaves err

  • How to search and delete repeated elements in a vector

    Hi again, In a class of my application, it needs to check in a vector (A), if there are repeated elements, if it founds one, then it is replaced for a *. then the elements different from * are copied into a new vector(Aa). the code is the following:

  • How do I get the features of Exposé back?

    How do I get the features of Exposé back? I know that mission control allows you to see your spaces as well as "stacks" of documents in each application, but I want the feature back where I can press a keyboard button and have all my windows of a cer

  • How to store other language data in oracle

    Hi, i am starter in oracle. Some of you may have faced this before and comee across the solution to the issue/query i am going to ask. I want to know how can i store data other than english in oracle data base and display them .

  • Unpredictable results in some apps (claws-mail, texmaker)

    Apologies in advance for the long explanation :-) A few months ago I was trying out claws-mail. It has a great feature where you can ask it to go through all your folders, and extract unique instances of all email addresses, and put them in your addr