Re: Setting URL for application to just my IP.
Re: Setting URL for application to just my IP.
- Subject: Re: Setting URL for application to just my IP.
- From: Chuck Hill <email@hidden>
- Date: Thu, 2 Mar 2006 19:45:36 -0800
Hi Jeff,
On Mar 2, 2006, at 6:23 PM, Jeffrey Schmitz wrote:
Would it be better to add the below command to the httpd.conf file,
or the apache.conf file?
I'd either put it in httpd.conf file or in another site / domain
specific file that is Include(d) in http.conf as apache.conf is.
If I have to load mod_webobjects (done in apache.conf) before the
loading mod_rewrite (done in httpd.conf), I guess that would mean
I'd have to do the below command in the httpd.conf file after both
loads, right?
No, not exactly. The "out of the box" apache.conf won't function
with mod_rewrite. You need to copy the loadmodule and addmodule
command from apache.conf into httpd.conf _before_ the corresponding
commands for mod_rewrite. The command below just control the module
after it has been loaded. Usually I would put then in a virtual
host and you can have many different rewrite rules in may different
virtual hosts.
Chuck
On Mar 1, 2006, at 9:44 PM, Chuck Hill wrote:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^/$ /cgi-bin/Webobjects/
netBrackets.woa [last,passthrough]
</IfModule>
--
Coming in 2006 - an introduction to web applications using WebObjects
and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/practical_webobjects
_______________________________________________
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