[UPHPU] Apache 2.2 mod rewrite issue

Kirk Cerny kirksemail at gmail.com
Wed Feb 24 18:40:44 MST 2010


does this work? It is what I have for my wordpress.
It might be the / in front of the index.php

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress



On Wed, Feb 24, 2010 at 5:44 PM, Brandon Stout <bms at mscis.org> wrote:
> On 02/24/2010 05:26 PM, Ash wrote:
>
>> I've had weird stuff like this happen that was dns related. I was also
>> using the hosts file to bypass my normal dns, and it did something
>> similar. When the real dns server finally started resolving the address
>> correctly, it started working.
>>
>> I don't remember specifics, but you might want to ping to see where your
>> domain is pointing with no server name.
>>
>> Ash
>
> Ok, I have a 5 minute ttl, so I pointed dns to the new server in hopes
> to resolve this tonight, and to see if this is the issue.  You can now
> see what you get if you go to http://flfn.org - it's the default
> non-vhost doc root page in /var/www/html - a completely different
> directory.  If you go to http://flfn.org/index.php , you get the site.
>
> Here's what the access log shows when viewing http://flfn.org :
>
> 67.182.203.21 - - [24/Feb/2010:17:41:04 -0700] "GET / HTTP/1.1" 403 5043
> "http://flfn.org/admin/reports/status" "Mozilla/5.0 (X11; U; Linux
> x86_64; en-US; rv:1.9.1.6) Gecko/20091201 SUSE/3.5.6-1.1.1 Firefox/3.5.6"
> 67.182.203.21 - - [24/Feb/2010:17:41:04 -0700] "GET /icons/apache_pb.gif
> HTTP/1.1" 200 2326 "http://flfn.org/" "Mozilla/5.0 (X11; U; Linux
> x86_64; en-US; rv:1.9.1.6) Gecko/20091201 SUSE/3.5.6-1.1.1 Firefox/3.5.6"
> 67.182.203.21 - - [24/Feb/2010:17:41:04 -0700] "GET
> /icons/powered_by_rh.png HTTP/1.1" 200 1213 "http://flfn.org/"
> "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.6) Gecko/20091201
> SUSE/3.5.6-1.1.1 Firefox/3.5.6"
>
> Note that it throws a 403.
>
> Brandon
>
> _______________________________________________
>
> UPHPU mailing list
> UPHPU at uphpu.org
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
>


More information about the UPHPU mailing list