Vote Up 0 Vote Down

check htaccess working

How to check htaccess working in apache web server ?


Vote Up 0 Vote Down
Step 1:

Create a test folder in your local webserver directory .
For example htdocs/test

Step 2:

Create a .htaccess file in that folder

Step 3:

Write some dump string in that .htaccess file

Step 4:

Navigate to that folder using your webbrowser . For example :


Step 5:
You should see an error message like "Internal server error". If not, your web server is ignoring the .htaccess file and it means redirection is not working in your Apache.
flag | link |

Your Answer

Login before answering

Login with facebook