Re: [users@httpd] "translation" of address to one with GET varialble

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

 



> > > RewriteEngine On
> > > RewriteRule ^/1_big.jpg$ /komputer.htm?nr=1
> > 
> > It did not work... I tried both this and regext for number
> 
> Never say "It did not work." on a technical mailing list.  Explain
> exactly what happened, including excerpts from the log files.  In the
> case of mod_rewrite, it is essential to use the RewriteLog as well.

OK, elaborating:

in .htaccess I put these:
RewriteEngine On
RewriteRule ^/komputery/1_big.jpg$ /komputery.htm?nr=1

also tried this

RewriteRule ^/komputery/(.*)_big.jpg$ /komputery.htm?nr=$1

Turned off mod_negotiations and -multiviews from server config,
Server returns 404 on /komputery/1_big.jpg and RewriteLog is empty,

Any ideas?

Rambo




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux