Re: Using mod_rewrite
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.