Re: MOD_REWRITE

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

 



On Nov 1, 2007 2:17 PM, Alberto García Gómez <alberto@xxxxxxxxxxxxxxxxx> wrote:
> Joshua, please check the result log (attach it) for a single request of a
> page. Off course I do this:
>
> http://myserver.com/page.html
>
> but nothing return, otherwise if I request:
>
> http://myserver.com/?page.html
>
> it works

A few notes here:

1. Don't start new threads. Reply to the old message so that
everything groups together for threaded mail programs.

2. Don't just attach your log. Open it up and paste in what you think
is the part relevant to solving the problem. (This ain't a log
debugging service, it's a discussion forum.)

3. You don't appear to have RewriteLogLevel up very high.

4. Obviously the rewrite is looping due to the way your config is
setup. This might work better:

RewriteRule ^/(.*\.html)$ /usr/local/apache2/htdocs/index.php?$1

Obviously I'm just guessing about the true path to the php script.

Joshua.

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