Wow, that was a fast answer :)
I tried it, and got "RewriteCond: bad flag delimiters" and 500 error.
Saw that there was an extra space in the "RewriteCond %{REQUEST_URI} !
\.(js|jpg)$" rule, so changed it to "RewriteCond %{REQUEST_URI}
!\.(js|jpg)$".
Got rid of the 500 error, but now the rule didn
On Mon, Sep 7, 2009 at 8:08 AM, Lars wrote:
> Hello list!
>
> I know basic mod_rewrite, not much, but enough to create basic rules.
>
> Now I need to create a rule that can handle this situation:
> * Work under the root (/) folder
> * Don't do anything under the /secure/ folder
> * Don't do anyt
Hello list!
I know basic mod_rewrite, not much, but enough to create basic rules.
Now I need to create a rule that can handle this situation:
* Work under the root (/) folder
* Don't do anything under the /secure/ folder
* Don't do anything with *.js, *.jpg
* Rewrite everything else to index.
Andrea Visinoni wrote:
Eric Covener ha scritto:
On Thu, Mar 12, 2009 at 6:02 PM, Andrea Visinoni
wrote:
Hi there,
i need to implement url rewrite on a website and i need to obtain
something
like that:
http://site.com/a/ -> index.php?1=a
http://site.com/a/b/ -> index.php?1=a&2=b
http://site.
Eric Covener ha scritto:
On Thu, Mar 12, 2009 at 6:02 PM, Andrea Visinoni
wrote:
Hi there,
i need to implement url rewrite on a website and i need to obtain something
like that:
http://site.com/a/ -> index.php?1=a
http://site.com/a/b/ -> index.php?1=a&2=b
http://site.com/a/b/c/ -> index.php?1=
Andrea Visinoni wrote:
Hi there,
i need to implement url rewrite on a website and i need to obtain
something like that:
http://site.com/a/ -> index.php?1=a
http://site.com/a/b/ -> index.php?1=a&2=b
http://site.com/a/b/c/ -> index.php?1=a&2=b&3=c
is this possible?
by now i was able to do that
On Thu, Mar 12, 2009 at 6:02 PM, Andrea Visinoni
wrote:
> Hi there,
> i need to implement url rewrite on a website and i need to obtain something
> like that:
>
> http://site.com/a/ -> index.php?1=a
> http://site.com/a/b/ -> index.php?1=a&2=b
> http://site.com/a/b/c/ -> index.php?1=a&2=b&3=c
Ther
Hi there,
i need to implement url rewrite on a website and i need to obtain
something like that:
http://site.com/a/ -> index.php?1=a
http://site.com/a/b/ -> index.php?1=a&2=b
http://site.com/a/b/c/ -> index.php?1=a&2=b&3=c
is this possible?
by now i was able to do that:
RewriteEngine on
Rewr