• 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: Using mod_rewrite
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using mod_rewrite


  • Subject: Re: Using mod_rewrite
  • From: Greg Kick <email@hidden>
  • Date: Tue, 13 Jul 2004 18:04:33 -0700

I think this might be what you're looking for, and it saves you the trouble of mod_rewrite...

Taken from: http://developer.apple.com/documentation/WebObjects/Deployment/ Deploying_Applications/index.html

Setting an Alias for cgi-bin in the WebObjects URL

The following list explains how to change the cgi-bin part of the URL used to connect to an application instance to Store in the Apache, NSAPI, and CGI adaptors:
 Apache: In the apache.conf file, change the line


WebObjectsAlias /cgi-bin/WebObjects

to

WebObjectsAlias /Store/WebObjects


 NSAPI: In the magnus.conf file, change the lines

NameTrans from="/cgi-bin/WebObjects" fn="WebObjectsNameTrans" name="webobjects"

NameTrans from="/cgi-bin" fn="pfx2dir" dir="/opt/ns-home/cgi-bin" name="cgi"

to

NameTrans from="/Store/WebObjects" fn="WebObjectsNameTrans" name="webobjects"

NameTrans from="/Store" fn="pfx2dir" dir="/opt/ns-home/cgi-bin" name="cgi"

So, you could probably change it to something more friendly if you don't NEED to eliminate it all together.

Greg Kick
email@hidden


On Jul 13, 2004, at 3:57 PM, Amorya North wrote:

On 13 Jul 2004, at 11:35 pm, Arturo Pirez wrote:

On Jul 13, 2004, at 2:30 PM, Amorya North wrote:

OK, my partner for the site I'm developing has decided that he doesn't like the URLs Webobjects makes.

Not that in matters in the slightest but you could list the reasons why? Just curious.

Basically, he wants them to be more human-readable, and to not give away what technology is being used behind the scenes. He doesn't like having /cgi-bin/Webobjects/ present in the path because it adds no value to the visitor's experience of the site.


He has the opinion that the URL should be 'for' the site visitor - so that the visitor can hack it apart to get to other bits of the site - and the software should fit in with that, not the other way round.

Amorya
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Using mod_rewrite
      • From: Arturo Pérez <email@hidden>
References: 
 >Using mod_rewrite (From: Amorya North <email@hidden>)
 >Re: Using mod_rewrite (From: Arturo Pérez <email@hidden>)

  • Prev by Date: Re: How to interact between static and dynamic pages
  • Next by Date: Re: Using mod_rewrite
  • Previous by thread: Re: Using mod_rewrite
  • Next by thread: Re: Using mod_rewrite
  • Index(es):
    • Date
    • Thread