• 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: URL for WebObjects?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URL for WebObjects?


  • Subject: Re: URL for WebObjects?
  • From: Pascal Robert <email@hidden>
  • Date: Thu, 20 Nov 2008 11:10:15 -0500

It depends if you are using virtual hosts or not. If you don't, you can add it to httpd.conf, if you're using virtual hosts on Mac OS X Server (10.4), add the rule in the file created for your virtual hosts (the file should be in /etc/httpd/sites).

This is very helpful!.

Thanks for the explanation.

Could you please tell me the file where I can set the rule in Apache 1.3?
Is the httpd.conf file?


Thanks in advance.


On Nov 19, 2008, at 8:36 PM, Guido Neitzer wrote:

On 19.11.2008, at 19:17, Timothy Reaves wrote:

I thought that when a site used WebObjects, it was readily apparent because of the distinctive URL. Is this no longer the case? Can you now (or could you always) create sites that have no long string of numeric characters, and the woa? In other words, where the URL's look just like static content?

You can. You could always rewrite URLs, create different looking URLs and so on. It just got very simple with the _rewriteUrl() method that is part of Wonder's ERXApplication. You can just provide a replacement pattern and your URLs get rewritten by the application. A corresponding rewrite rule for apache's mod_rewrite does the other way.


This is from the documentation of ERXApplication:

* For example, in Properties:
* <code>
* er.extensions.ERXApplication.replaceApplicationPath.pattern=/cgi- bin/WebObjects/YourApp.woa
* er.extensions.ERXApplication.replaceApplicationPath.replace=/ yourapp
* </code>
*
* and in Apache 2.2:
* <code>
* RewriteRule ^/yourapp(.*)$ /cgi-bin/WebObjects/YourApp.woa$1 [PT,L]
* </code>
*
* or Apache 1.3:
* <code>
* RewriteRule ^/yourapp(.*)$ /cgi-bin/WebObjects/YourApp.woa$1 [P,L]
* </code>


cug

 _______________________________________________
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

<Firma.png>

_______________________________
Ing. Miguel Angel Torres Avila






_______________________________________________ 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


-------------------------------------------------------
Pascal Robert

http://www.macti.ca
http://www.linkedin.com/in/macti

Skype: MacTICanada
AIM/iChat : MacTICanada

_______________________________________________
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: URL for WebObjects?
      • From: Miguel Angel Torres Avila <email@hidden>
References: 
 >URL for WebObjects? (From: Timothy Reaves <email@hidden>)
 >Re: URL for WebObjects? (From: Guido Neitzer <email@hidden>)
 >Re: URL for WebObjects? (From: Miguel Angel Torres Avila <email@hidden>)

  • Prev by Date: Re: Totally New
  • Next by Date: Re: URL for WebObjects?
  • Previous by thread: Re: URL for WebObjects?
  • Next by thread: Re: URL for WebObjects?
  • Index(es):
    • Date
    • Thread