Re: internal redirects error

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

 



* Igor Cicimov <icicimov@xxxxxxxxx> [101110 16:55]:
> Your RewriteRule doesn't make much sense though. It will cause to redirect
> http://localhost/reg to pyindex.py/reg (plus append the query string if any)
> and I don't see the purpose of this redirect. What are you really trying to
> achieve here?
> 
> If the idea is to redirect virtual links, the one without real files in the
> apache file system, then you better do
> 
> RewriteEngine on
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteRule ^(.*)$ /py/ <http://pyindex.py/$1> [L]
> 
> which will redirect any non existing link to the pyindex.py file which is
> your home page I assume.
  Thank you Igor. The changes that you recommend above for .htaccess
  have been implemented. I believe that I have solved my problem.
  best of luck. Keep up the great help.
-- 
Tim 
tim at johnsons-web.com or akwebsoft.com
http://www.akwebsoft.com

---------------------------------------------------------------------
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