[ic] mod_interchange and Apache 2.0
Jonathan Clark
jonc at webmaint.com
Thu Mar 18 08:46:51 EST 2004
> > > So, can anyone point me in the right direction with the
> rewrite rules?
> > > Has anyone else even used them? If anyone has any tips about how to
> > > correct the UI problems, or any additional ideas for how I
> can approach
> > > this, I'd really appreciate it.
> >
> > These are the settings we use for our sites:
> >
> > /etc/httpd/conf/httpd.conf
> > --------------------------
> > ..
> > RewriteRule ^$ /cgi-bin/mycatalog/index.html [PT,L]
> > RewriteRule ^/$ /cgi-bin/mycatalog/index.html [PT,L]
> > RewriteRule ^/cgi-bin/.* - [PT,L]
> > RewriteRule ^/images/.* - [PT,L]
> > RewriteRule ^/interchange-5/.* - [PT,L]
> > RewriteRule ^/(.*) /cgi-bin/mycatalog/$1 [PT,L]
> > ..
>
> Alternatively, this can be configured with Alias and ScriptAliasMatch.
> Rules for robots.txt, favicon.ico and alike are recommended as well.
Yeah, we have:
RewriteRule ^/robots\.txt$ - [PT,L]
RewriteRule ^/.*\.css$ - [PT,L]
RewriteRule ^/.*\.js$ - [PT,L]
and
RewriteRule ^/.*favicon\.ico$ /favicon.ico [PT,L]
in a standard rewrite.
Jonathan.
--
Jonathan Clark
Webmaint.com - Building Clever Websites http://www.webmaint.com/
Webmaint.net - Business Web Hosting http://www.webmaint.net/
WireTel - Internet Connectivity Solutions http://www.wiretel.net/
More information about the interchange-users
mailing list