LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 11-23-2006, 01:46 AM   #1
chillyroll
LQ Newbie
 
Registered: Oct 2006
Posts: 25

Rep: Reputation: 15
Need help in configuring htaccess for windows.


Hello guys,
You people might wonder that I am talking about Windows here, but I have some problem in configuring .htaccess file with WAMP server. I have always got solutions to my problems every time I have made a post here. So looking for it again.

I want to add htaccess code in my new website which is currently under development. I am looking for htaccess implementation in my site. But I am getting following error when I include .htaccess file in my Site Directory:

==================================================
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/1.3.33 Server at localhost Port 3000
==================================================

My httpd.conf file contains following code related to htaccess:

==================================================
AllowOverride all
AccessFileName .htaccess
==================================================

My .htaccess file that I created contains following code:

==================================================
Options All

RewriteEngine On

RewriteRule ^/(.*)/ viewcategories.php?catname=$1 [NC]
==================================================

But when I save the .htaccess file in my website directory, I get Internal Server Error as mentioned above.

So, can anybody suggest me a solution?

Thanks in advance.
 
Old 11-23-2006, 06:49 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Not a Linux related question. This thread is more suitable in the General Forum and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring Windows XP BlaznRob Linux - Networking 2 07-07-2005 01:48 PM
configuring mysql for windows and suse 4levels Linux - Software 0 04-18-2004 03:35 PM
Configuring X Windows from console dkochan Red Hat 2 04-15-2004 06:58 AM
configuring GRUB to load windows merlin371 Linux - General 1 02-28-2004 10:38 AM
configuring a gateway for a windows xp box joshuadonz *BSD 0 03-23-2003 01:04 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 08:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration