This discussion is locked
Achilleus

Q: How to get .htaccess URL rewriting working with the preinstalled apache2?

I've tried and tried to get this to work. I'm switching from windows to this macbook, and for the life of me, I can't get my .htaccess file to work with the URL rewriting. It's like the server isn't even recognizing that it's there. This is what I got in the .htaccess:

RewriteEngine on
RewriteRule ^games/$ index\.php\?action\=games
RewriteRule ^games$ index\.php\?action\=games
RewriteRule ^events/$ index\.php\?action\=events
RewriteRule ^events$ index\.php\?action\=events
RewriteRule ^downloads/$ index\.php\?action\=downloads
RewriteRule ^downloads$ index\.php\?action\=downloads
RewriteRule ^support/$ index\.php\?action\=support
RewriteRule ^support$ index\.php\?action\=support
RewriteRule ^blogs/$ wordpress/
RewriteRule ^blogs$ wordpress/

By all means it should be working, save for the fact that it's not even being read by Apache! In /private/etc/apache2/httpd.conf I edited every instance of AllowOverride None and changed it to AllowOverride All and it still will not work! I also went to /private/etc/apache2/users/achilleus/.conf and did the same in that file as well. For the life of me, when I go to http://localhost/index.php?action=games it works but when I go to http://localhost/games/ it refuses to cooperate. I looked in the error log for apache and it doesn't list anything, neither does the access log. I've been on Google for hours and I still can't find anything.

Can somebody please tell me how to enable the use of .htaccess files in a brand new installation of Leopard? I formatted this thing yesterday and ran all the updates.

MacBook, Mac OS X (10.5.4), switching from windows xp pro

Posted on Jul 29, 2008 11:19 AM

Close

Q: How to get .htaccess URL rewriting working with the preinstalled apache2?

  • All replies
  • Helpful answers

Page 1 of 3 last Next
  • by orangekay,

    orangekay orangekay Jul 29, 2008 11:24 AM in response to Achilleus
    Level 5 (4,085 points)
    Jul 29, 2008 11:24 AM in response to Achilleus
    Are you restarting Apache after making these changes?
  • by Achilleus,

    Achilleus Achilleus Jul 29, 2008 11:57 AM in response to orangekay
    Level 1 (0 points)
    Jul 29, 2008 11:57 AM in response to orangekay
    Yes. I don't know the command to do it in Terminal, so I've been just going to system preferences and check/uncheck the web sharing box. Even after full blown restarting my computer it doesn't work.
  • by Achilleus,

    Achilleus Achilleus Jul 29, 2008 12:43 PM in response to Achilleus
    Level 1 (0 points)
    Jul 29, 2008 12:43 PM in response to Achilleus
    bump
  • by glsmith,Helpful

    glsmith glsmith Jul 29, 2008 1:48 PM in response to Achilleus
    Level 3 (875 points)
    Jul 29, 2008 1:48 PM in response to Achilleus
    I don't know the command to do it in Terminal


    sudo apachectl restart

    I tried to get this to work using my Sites directory (which was already defined in my <user>.conf file), but was unable to. I added a RewriteLog path and increased the RewriteLogLevel to 15, but got nothing (and no log file created). I then put in gibberish in the .htaccess file, restarted the server, but saw no server errors.

    I can only conclude that for whatever reason, my directory scope is precluding the use of .htaccess (even though I tried to change all the AllowOverride parameters I could find) such that the server isn't even reading it.

    I then moved my test rewrite rules out of .htaccess and into the main httpd.conf and restarted Apache. That worked just fine. So I guess my question is, do you absolutely need to use .htaccess files?
  • by Camelot,

    Camelot Camelot Jul 29, 2008 1:54 PM in response to Achilleus
    Level 8 (47,305 points)
    Mac OS X
    Jul 29, 2008 1:54 PM in response to Achilleus
    The clue may be in the Apache documentation:

    Note: Enabling rewrites in per-directory context

    To enable the rewriting engine for per-directory configuration files, you need to set ``RewriteEngine On'' in these files and ``Options FollowSymLinks'' must be enabled. If your administrator has disabled override of FollowSymLinks for a user's directory, then you cannot use the rewriting engine. This restriction is needed for security reasons.


    You should check your main httpd.conf to ensure that FollowSymLinks is enabled for your directory.
  • by glsmith,

    glsmith glsmith Jul 29, 2008 2:03 PM in response to Camelot
    Level 3 (875 points)
    Jul 29, 2008 2:03 PM in response to Camelot
    Yeah, might be the OP's issue, but I explicitly allowed that in my testing (just forgot to mention it). I have to admit, I can't get rewrite to work at all in a directory context...
  • by Camelot,Helpful

    Camelot Camelot Jul 29, 2008 2:09 PM in response to Camelot
    Level 8 (47,305 points)
    Mac OS X
    Jul 29, 2008 2:09 PM in response to Camelot
    Other things to try:

    1) Add some other element to the .htaccess file to test whether the file is being processed or not. Either a valid command such as an Auth config, or even just junk (the server will complain if there's junk in a .htaccess file that's being used, but will be silent if it isn't reading the .htaccess).

    2) Enable rewrite logging:

    RewriteLog /var/log/apache2/rewrite.log
    RewriteLogLevel 9


    This will tell you if your Rewrites are failing for some reason. (Remember to turn off the logging once you're done - the logs can be verbose).
  • by glsmith,

    glsmith glsmith Jul 29, 2008 2:13 PM in response to Camelot
    Level 3 (875 points)
    Jul 29, 2008 2:13 PM in response to Camelot
    I tried to get this to work using my Sites directory (which was already defined in my <user>.conf file), but was unable to. I added a RewriteLog path and increased the RewriteLogLevel to 15, but got nothing (and no log file created). I then put in gibberish in the .htaccess file, restarted the server, but saw no server errors.


    Yep, tried all that. The server never even looks at my .htaccess. Still good for the OP to do, though.
  • by Achilleus,

    Achilleus Achilleus Jul 29, 2008 2:25 PM in response to Camelot
    Level 1 (0 points)
    Jul 29, 2008 2:25 PM in response to Camelot
    Camelot wrote:
    Other things to try:

    1) Add some other element to the .htaccess file to test whether the file is being processed or not. Either a valid command such as an Auth config, or even just junk (the server will complain if there's junk in a .htaccess file that's being used, but will be silent if it isn't reading the .htaccess).

    2) Enable rewrite logging:

    RewriteLog /var/log/apache2/rewrite.log
    RewriteLogLevel 9


    This will tell you if your Rewrites are failing for some reason. (Remember to turn off the logging once you're done - the logs can be verbose).



    Tuesday, July 29, 2008 4:20:40 PM US/Central
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.php -> /Library/WebServer/Documents/games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.php/ -> games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^games/$' to uri 'games.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.php -> /Library/WebServer/Documents/games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.php/ -> games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^games$' to uri 'games.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.php -> /Library/WebServer/Documents/games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.php/ -> games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^events/$' to uri 'games.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.php -> /Library/WebServer/Documents/games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.php/ -> games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^events$' to uri 'games.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.php -> /Library/WebServer/Documents/games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.php/ -> games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^downloads/$' to uri 'games.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.php -> /Library/WebServer/Documents/games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.php/ -> games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^downloads$' to uri 'games.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.php -> /Library/WebServer/Documents/games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.php/ -> games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^support/$' to uri 'games.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.php -> /Library/WebServer/Documents/games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.php/ -> games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^support$' to uri 'games.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.php -> /Library/WebServer/Documents/games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.php/ -> games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^blogs/$' to uri 'games.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.php -> /Library/WebServer/Documents/games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.php/ -> games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^blogs$' to uri 'games.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100980898/subreq] (1) [perdir /Library/WebServer/Documents> pass through /Library/WebServer/Documents/games.php
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.template.php -> /Library/WebServer/Documents/games.template.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.template.php/ -> games.template.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^games/$' to uri 'games.template.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.template.php -> /Library/WebServer/Documents/games.template.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.template.php/ -> games.template.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^games$' to uri 'games.template.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.template.php -> /Library/WebServer/Documents/games.template.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.template.php/ -> games.template.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^events/$' to uri 'games.template.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.template.php -> /Library/WebServer/Documents/games.template.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.template.php/ -> games.template.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^events$' to uri 'games.template.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.template.php -> /Library/WebServer/Documents/games.template.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.template.php/ -> games.template.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^downloads/$' to uri 'games.template.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.template.php -> /Library/WebServer/Documents/games.template.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.template.php/ -> games.template.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^downloads$' to uri 'games.template.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.template.php -> /Library/WebServer/Documents/games.template.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.template.php/ -> games.template.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^support/$' to uri 'games.template.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.template.php -> /Library/WebServer/Documents/games.template.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.template.php/ -> games.template.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^support$' to uri 'games.template.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.template.php -> /Library/WebServer/Documents/games.template.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.template.php/ -> games.template.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^blogs/$' to uri 'games.template.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.template.php -> /Library/WebServer/Documents/games.template.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.template.php/ -> games.template.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^blogs$' to uri 'games.template.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (1) [perdir /Library/WebServer/Documents> pass through /Library/WebServer/Documents/games.template.php
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.php -> /Library/WebServer/Documents/games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.php/ -> games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> applying pattern '^games/$' to uri 'games.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.php -> /Library/WebServer/Documents/games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.php/ -> games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> applying pattern '^games$' to uri 'games.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.php -> /Library/WebServer/Documents/games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.php/ -> games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> applying pattern '^events/$' to uri 'games.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.php -> /Library/WebServer/Documents/games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.php/ -> games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> applying pattern '^events$' to uri 'games.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.php -> /Library/WebServer/Documents/games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.php/ -> games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> applying pattern '^downloads/$' to uri 'games.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.php -> /Library/WebServer/Documents/games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.php/ -> games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> applying pattern '^downloads$' to uri 'games.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.php -> /Library/WebServer/Documents/games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.php/ -> games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> applying pattern '^support/$' to uri 'games.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.php -> /Library/WebServer/Documents/games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.php/ -> games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> applying pattern '^support$' to uri 'games.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.php -> /Library/WebServer/Documents/games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.php/ -> games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> applying pattern '^blogs/$' to uri 'games.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> add path info postfix: /Library/WebServer/Documents/games.php -> /Library/WebServer/Documents/games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/games.php/ -> games.php/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (3) [perdir /Library/WebServer/Documents> applying pattern '^blogs$' to uri 'games.php/'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097c898/initial] (1) [perdir /Library/WebServer/Documents> pass through /Library/WebServer/Documents/games.php
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/ ->
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^games/$' to uri ''
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/ ->
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^games$' to uri ''
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/ ->
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^events/$' to uri ''
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/ ->
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^events$' to uri ''
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/ ->
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^downloads/$' to uri ''
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/ ->
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^downloads$' to uri ''
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/ ->
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^support/$' to uri ''
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/ ->
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^support$' to uri ''
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/ ->
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^blogs/$' to uri ''
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/ ->
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^blogs$' to uri ''
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100977898/subreq] (1) [perdir /Library/WebServer/Documents> pass through /Library/WebServer/Documents/
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.html -> index.html
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^games/$' to uri 'index.html'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.html -> index.html
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^games$' to uri 'index.html'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.html -> index.html
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^events/$' to uri 'index.html'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.html -> index.html
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^events$' to uri 'index.html'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.html -> index.html
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^downloads/$' to uri 'index.html'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.html -> index.html
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^downloads$' to uri 'index.html'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.html -> index.html
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^support/$' to uri 'index.html'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.html -> index.html
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^support$' to uri 'index.html'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.html -> index.html
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^blogs/$' to uri 'index.html'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.html -> index.html
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^blogs$' to uri 'index.html'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (1) [perdir /Library/WebServer/Documents> pass through /Library/WebServer/Documents/index.html
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10098a898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.html -> index.html
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10098a898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^games/$' to uri 'index.html'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10098a898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.html -> index.html
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10098a898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^games$' to uri 'index.html'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10098a898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.html -> index.html
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10098a898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^events/$' to uri 'index.html'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10098a898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.html -> index.html
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10098a898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^events$' to uri 'index.html'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10098a898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.html -> index.html
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10098a898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^downloads/$' to uri 'index.html'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10098a898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.html -> index.html
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10098a898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^downloads$' to uri 'index.html'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10098a898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.html -> index.html
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10098a898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^support/$' to uri 'index.html'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10098a898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.html -> index.html
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10098a898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^support$' to uri 'index.html'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10098a898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.html -> index.html
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10098a898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^blogs/$' to uri 'index.html'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10098a898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.html -> index.html
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10098a898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^blogs$' to uri 'index.html'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10098a898/subreq] (1) [perdir /Library/WebServer/Documents> pass through /Library/WebServer/Documents/index.html
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.php -> index.php
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^games/$' to uri 'index.php'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.php -> index.php
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^games$' to uri 'index.php'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.php -> index.php
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^events/$' to uri 'index.php'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.php -> index.php
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^events$' to uri 'index.php'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.php -> index.php
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^downloads/$' to uri 'index.php'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.php -> index.php
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^downloads$' to uri 'index.php'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.php -> index.php
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^support/$' to uri 'index.php'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.php -> index.php
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^support$' to uri 'index.php'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.php -> index.php
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^blogs/$' to uri 'index.php'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/index.php -> index.php
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (3) [perdir /Library/WebServer/Documents> applying pattern '^blogs$' to uri 'index.php'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#100986898/subreq] (1) [perdir /Library/WebServer/Documents> pass through /Library/WebServer/Documents/index.php
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097a898/initial] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/favicon.ico -> favicon.ico
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097a898/initial] (3) [perdir /Library/WebServer/Documents> applying pattern '^games/$' to uri 'favicon.ico'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097a898/initial] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/favicon.ico -> favicon.ico
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097a898/initial] (3) [perdir /Library/WebServer/Documents> applying pattern '^games$' to uri 'favicon.ico'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097a898/initial] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/favicon.ico -> favicon.ico
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097a898/initial] (3) [perdir /Library/WebServer/Documents> applying pattern '^events/$' to uri 'favicon.ico'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097a898/initial] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/favicon.ico -> favicon.ico
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097a898/initial] (3) [perdir /Library/WebServer/Documents> applying pattern '^events$' to uri 'favicon.ico'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097a898/initial] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/favicon.ico -> favicon.ico
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097a898/initial] (3) [perdir /Library/WebServer/Documents> applying pattern '^downloads/$' to uri 'favicon.ico'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097a898/initial] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/favicon.ico -> favicon.ico
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097a898/initial] (3) [perdir /Library/WebServer/Documents> applying pattern '^downloads$' to uri 'favicon.ico'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097a898/initial] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/favicon.ico -> favicon.ico
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097a898/initial] (3) [perdir /Library/WebServer/Documents> applying pattern '^support/$' to uri 'favicon.ico'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097a898/initial] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/favicon.ico -> favicon.ico
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097a898/initial] (3) [perdir /Library/WebServer/Documents> applying pattern '^support$' to uri 'favicon.ico'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097a898/initial] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/favicon.ico -> favicon.ico
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097a898/initial] (3) [perdir /Library/WebServer/Documents> applying pattern '^blogs/$' to uri 'favicon.ico'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097a898/initial] (3) [perdir /Library/WebServer/Documents> strip per-dir prefix: /Library/WebServer/Documents/favicon.ico -> favicon.ico
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097a898/initial] (3) [perdir /Library/WebServer/Documents> applying pattern '^blogs$' to uri 'favicon.ico'
    ::1 - - [29/Jul/2008:16:20:44 --0500] [localhost/sid#10080b708][rid#10097a898/initial] (1) [perdir /Library/WebServer/Documents> pass through /Library/WebServer/Documents/favicon.ico


    That's what shows up on the rewrite log after it's enabled as you specified. It's very very long and I can't see anything that may be going wrong, save for the fact that it looks strange where it says games.php/ but that goes away further down in the log.

    I also looked for all instances of followsymlinks and set it all to allow, allow if that's what I'm supposed to do, still doesn't work.
  • by glsmith,

    glsmith glsmith Jul 29, 2008 2:32 PM in response to Achilleus
    Level 3 (875 points)
    Jul 29, 2008 2:32 PM in response to Achilleus
    Well, it means that your .htaccess file is actually being read, which is good. Perhaps you could simplify the rules (or the number of them) while you troubleshoot in order to produce less output...
  • by orangekay,

    orangekay orangekay Jul 29, 2008 2:44 PM in response to Achilleus
    Level 5 (4,085 points)
    Jul 29, 2008 2:44 PM in response to Achilleus
    I can't reproduce this problem at all. What's your DocumentRoot set to and is that the same place you're putting these files?
  • by Achilleus,

    Achilleus Achilleus Jul 29, 2008 2:48 PM in response to glsmith
    Level 1 (0 points)
    Jul 29, 2008 2:48 PM in response to glsmith
    It's putting a trailing slash on the end of any file I do. I made another rewrite to go to a simple html page, that way there's no php that may get in the way or make it in to the log file, and it's making localhost/games/ go to localhost/games.html/ which obviously won't work. It's also messing with my php files, whenever I have an include_once() it will add a trailing slash to that file so it'd make games.template.php/ and that just completely messes everything up. I didn't have this many problems on windows xp... Any other ideas?
  • by Achilleus,

    Achilleus Achilleus Jul 29, 2008 2:50 PM in response to orangekay
    Level 1 (0 points)
    Jul 29, 2008 2:50 PM in response to orangekay
    orangekay wrote:
    I can't reproduce this problem at all. What's your DocumentRoot set to and is that the same place you're putting these files?


    DocumentRoot "/Library/WebServer/Documents" and my files are in that exact same directory.
  • by orangekay,

    orangekay orangekay Jul 29, 2008 3:00 PM in response to Achilleus
    Level 5 (4,085 points)
    Jul 29, 2008 3:00 PM in response to Achilleus
    So mod_rewrite is clearly doing it's job; the problem is with your rules. One obvious problem is that you have twice as many as you actually need.

    Creating separate rules for
    ^games/$
    and
    ^games$
    is pointless if they ultimately redirect to the same place.

    ^games(/)?$


    will cover both contingencies with a single rule. Cut down the number of rules that are applied to every single request and debugging them will be a whole lot easier.
Page 1 of 3 last Next