On 02/25/2010 12:12 PM, Wade Preston Shearer wrote:
> Sorry, I meant "does Apache have theā¦"
In that case yes, because I'm able to use it fine when specifying
index.php/whatever or when using the rewrite rules I commented out of
the vhost by themselves.
I've found a hack I guess I'll live with. I commented out the
ErrorDocument line here:
# cat /etc/httpd/conf.d/welcome.conf
#
# This configuration file enables the default "Welcome"
# page if there is no default index page present for
# the root URL. To disable the Welcome page, comment
# out all the lines below.
#
<LocationMatch "^/+$">
Options Indexes
#ErrorDocument 403 /error/noindex.html
</LocationMatch>
Then I add this to the bottom of the vhost (uncommenting my own rewrite
rule designed redirect any ServerAliase to the ServerName):
RewriteEngine On
RewriteOptions Inherit
RewriteCond %{HTTP_HOST} !^flfn\.org$ [NC]
RewriteRule ^(.*)$ http://flfn.org$1 [R=301,L]
#Hack:
ErrorDocument 403 /index.php
Now it all works just fine. The underlying problem is still there, but
without a real solution, I'll take the hack and move on.
Brandon
_______________________________________________
UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net