buddywilliams Posted February 2, 2006 Share Posted February 2, 2006 I'm running Windows Server 2003 with Apache 2 and PHP 5. I have configured apache with VirtualHosts.I'n having problems with AllowOverride:If AllowOverride is set to:AllowOverride NoneThen the website looks fine but apache will not parse the .htaccess file.If AllowOverride is set to:AllowOverride AllThen the .htaccess file gets parsed but the images on the website will not show. It returns 403 error if I try to access the image directly.I have read that I shouldn't concern myself with file permissions because Windows handles it all the same. I just don't understand why Apache won't show the images? Quote Link to comment https://forums.phpfreaks.com/topic/3307-allowoverride-makes-images-give-a-403/ Share on other sites More sharing options...
buddywilliams Posted February 6, 2006 Author Share Posted February 6, 2006 I found the resolution:NameVirtualHost *:80<VirtualHost *:80> ServerName www.yourdomain.com ServerAlias yourdomain.com *.yourdomain.com DocumentRoot htdocs/www/yourdomain/public_html <Directory "htdocs/www/yourdomain/public_html"> AllowOverride All Options +MultiViews All </Directory></VirtualHost>The key was: Options [b]+MultiViews[/b] Quote Link to comment https://forums.phpfreaks.com/topic/3307-allowoverride-makes-images-give-a-403/#findComment-11378 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.