[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [ic] IC mod rewrite question.


 

> -----Original Message-----
> From: suppressed 
> [mailto:suppressed On Behalf 
> Of Sales Dept
> Sent: 2006 November 25 -- Saturday 9:48 PM
> To: suppressed
> Subject: [ic] IC mod rewrite question.
> 
> Running IC 5.3 and Apache2
> I have the following in my httpd.conf file.
> 
...snip...
>  RewriteRule ^/(.*) /cgi-bin/catalog/$1 [PT,L]

This line matches just about anything, and will catch all the urls that
haven't been caught yet...even the ones that you're trying to catch
below.  I'm surprised that the data.default urls are the only ones you
have problems with.

I'd suggest moving the ^/(.*)$ rule to the end of the list.


>  RewriteRule ^/robots\.txt$   -       [PT,L]
>  RewriteRule ^/.*\.css$   -       [PT,L]
>  RewriteRule ^/.*\.js$   -       [PT,L]
>  RewriteRule ^/.*favicon\.ico$   /favicon.ico       [PT,L]
>  RewriteRule ^/data.default/.* -  [PT,L]
> </VirtualHost>

--
Daniel Davenport
New Age Digital
http://www.newagedigital.com

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.