1
vote
0answers
460 views

Can't load my php.ini on localhost

I have a server and a local version of it on my hard drive. I am trying to access the local version through localhost. Entering localhost works, I enter the base html file and all that. The problem ...
1
vote
1answer
268 views

.htaccess - Simulating virtual host wrong link to Parent Directory in Directory Listing

I have a domain dedicated for my local server (.dev), and an .htaccess file which redirects requests like http://folder.dev/subfolder/ to /htdocs/folder/subfolder. It works great and all, except for ...
0
votes
4answers
2k views

.htaccess working on remote server but does not work on localhost. Getting 404 errors on localhost

MY PROBLEM: When I visit localhost the site does not work. It shows some text from the site but it seems the server can not locate any other files. Here is a snippet of the errors from firebug: ...
1
vote
1answer
1k views

.htaccess password protection not working in localhost

I tried to implement htaccess password protection for a directory in my localhost. My htaccess file is situated in /home/Server/Dev. The directory I want to protect is /Dev/. My .htaccess file has ...
0
votes
1answer
1k views

Server error 500 when adding .htaccess file in the root folder

I read a lot of server error 500 questions related to the famous .htaccess file but I have still not found an answer to this error. I have a folder which I used to test the .htaccess file. ...
0
votes
3answers
178 views

AddHandler syntax

This is my .htaccess file - currently very limited for now, as it's a test site at: http://localhost/mydomain/testfile AddHandler application/x-httpd-php .$ Is this syntax correct so that any file ...
0
votes
2answers
3k views

.htaccess file not being read on localhost

My live site reads the .htaccess fine. I got 404.php and mod_rewrite working fine there, but on my localhost... nothing. PHPmyAdmin 3.1.5 PHP 5.2.9-2 Apache 2.2 My .htaccess is this: ...