• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Limiting apache virtual host to only one WO application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Limiting apache virtual host to only one WO application


  • Subject: Re: Limiting apache virtual host to only one WO application
  • From: Jon Nolan <email@hidden>
  • Date: Wed, 01 Jun 2011 10:07:53 -0600
  • Organization: Loch Garman

Atli,

This might have an error or two but it should get you started.  You'll need conditions like the first one for static resource directories, etc.

        RewriteEngine On

        RewriteCond     $1                      !^/Apps/WebObjects/Awesome.woa
        RewriteCond     %{SCRIPT_FILENAME}      !-f
        RewriteCond     %{SCRIPT_FILENAME}      !-d
        RewriteRule     ^(.*)$                  /errors/404.html [R,L]

Good luck.

Jon






On 6/1/11 8:52 AM, Atli Páll Hafsteinsson wrote:
Hi

We have a WO setup with multiple application and a subdomain for each
application configured via apache virtualhosts.

How can I limit application access to only one application (using
mod_rewrite ? ) so that http://awesome.xx.is would only allow access
to http://awesome.xx.is/Apps/WebObjects/Awesome.woa but stop things
like http://awesome.xx.is/Apps/WebObjects/NotAsAwesome.woa or
http://awesome.xx.is/Apps/WebObjects/JavaMonitor.woa Ð

Regards,
Atli Páll Hafsteinsson
email@hidden
  _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Limiting apache virtual host to only one WO application
      • From: Atli Páll Hafsteinsson <email@hidden>
References: 
 >Limiting apache virtual host to only one WO application (From: Atli Páll Hafsteinsson <email@hidden>)

  • Prev by Date: Re: Limiting apache virtual host to only one WO application
  • Next by Date: Re: Limiting apache virtual host to only one WO application
  • Previous by thread: Re: Limiting apache virtual host to only one WO application
  • Next by thread: Re: Limiting apache virtual host to only one WO application
  • Index(es):
    • Date
    • Thread