Forum Moderators: phranque

Message Too Old, No Replies

installing mod_rewrite in plesk

I need to install mod_rewrite in my apache server running plesk

         

jmoreira

11:43 pm on Apr 26, 2005 (gmt 0)

10+ Year Member



Hello Folks! I have a rough situation here. I recently got a virtual share plan from godaddy.com. I need to install the mod_rewrite in my server but i have no clue how to do it. Also, I would like to know if my best choice is to go back to a regular hosting plan instead of using a virtual. Although, I have a few clients that i could be using my own server but it seems to be very complicated. I appreciate any help!

Thanks!

sitz

1:14 am on Apr 29, 2005 (gmt 0)

10+ Year Member



I'm not familiar with plesk, aside from having heard of it. mod_rewrite /may/ already be active (it installs with apache, but may not be active in the config). You'll need to uncomment the LoadModule line which refers to mod_rewrite.so (and, in the case of Apache 1.3.x; you'll also need to uncomment the AddModule line which refers to mod_rewrite.c).

You'll then need to configure it; there are some pointers to documentation in the Forum Charter [webmasterworld.com].

incrediBILL

1:41 am on Apr 29, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I run a slew of plesk servers (didn't set them up tho) but I'm pretty sure mod_rewrite is installed with Plesk as we use rewrite rules out of the box.

You can edit rewrite rules per site in the following path:

/home/httpd/vhosts/yourdomain.com/conf/ - this isn't accessible via FTP

You can then edit vhost.conf and install your rewrite rules.

When done changing the vhost.conf file execute "sevice httpd restart" and your rules are active, assuming you wrote them right :)