optikalefx Posted September 28, 2010 Share Posted September 28, 2010 I've installed many linux servers, but this server, is making me feel like an idiot. Its running a LAMP stack on a ubuntu 10 box. I have ssh access to root. the document root is /var/www and that works fine i have a .htaccess file inside of /var/ww that has some jibberish. I SHOULD be getting an internal server error. When i paste this into my localhost i get that server error, but not on this server. I also tried a correct htaccess file, but it doesn't work either. So my hunch is that apache is not using the htaccess file. In my apache2.conf file AccessFileName .htaccess is set, and i've restarted apache. I have no idea what is going on, never had this happen before. Any ideas? thanks! Quote Link to comment https://forums.phpfreaks.com/topic/214588-my-htaccess-file-isnt-being-used/ Share on other sites More sharing options...
optikalefx Posted September 28, 2010 Author Share Posted September 28, 2010 Never mind, for some reason /etc/apache2/sites-available/default had AllowOverride None set I change it it AllowOverride All Quote Link to comment https://forums.phpfreaks.com/topic/214588-my-htaccess-file-isnt-being-used/#findComment-1116626 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.