Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-27-2009, 08:15 AM   #1
LQ Newbie
Registered: Mar 2008
Posts: 4

Rep: Reputation: 0
How To Turn On RewriteEngine in RHEL

Hi,i wanted how i would turn on RewriteEngine on RHEL.Any help is welcome.

I tried typing a2enmode rewrite on my console and i got :command not found.
Old 02-27-2009, 08:51 AM   #2
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 741

Rep: Reputation: 73
If you refer to apache, then u need to add the directive to the vhost configuration or to .htaccess or to httpd.conf and it looks like this:

RewriteEngine On
Old 02-27-2009, 10:46 AM   #3
Registered: Dec 2008
Location: Newark Ohio
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 37
You will need to edit the config to turn on the following:

RewriteEngine On

Then create rules based on your conditions.

Check out



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
Apache RewriteEngine issue when typing URL SupremeUK Linux - Server 1 10-26-2007 05:11 AM
htaccess rewriteEngine - which variable is wrong? verbatim Programming 1 06-17-2005 06:25 AM
How to turn off Xserver in the gui and turn it off in the command line geminiviper Linux - Newbie 8 08-20-2004 08:05 AM
Apache RewriteEngine ApacheMan252 Linux - Software 10 09-04-2003 01:43 AM
RewriteEngine andy18 Linux - General 1 03-31-2003 12:59 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:10 AM.

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