Home > Guides, Linux System Admin > Install Apache and Enable mod_rewrite Ubuntu Linux

Install Apache and Enable mod_rewrite Ubuntu Linux

Sponsored Links:


Sponsored Links:
  1. binary
    July 3rd, 2008 at 07:33 | #1

    man a2enmod

    a2enmod rewrite
    /etc/init.d/apache2 restart

  2. July 23rd, 2008 at 09:48 | #2

    Hey buddy, great guides here. I have enabled my phpMyAdmin, Apache and MySQL in my local Server.

    Thanks a lot. What do you want in exchange? Scripts? You have a lot of them. Domain? Ah, you already have it. Thanks for everything bro…

  3. nadya
    August 14th, 2008 at 03:35 | #3

    thank you very much. i read a lot of sites and still had problem with this rewrite stuff. What helped me was the part

    ServerName modastig
    DocumentRoot /home/mod/www

  4. LysDiod
    September 24th, 2008 at 23:16 | #4

    Thx alot, it worked for me :)

  5. r2d2
    October 26th, 2008 at 08:08 | #5

    It worked perfectly… thanks a lot. This linux stuff is complicated but i’ll keep trying. I hope some day i understand it better….

  6. CraZy675
    November 19th, 2008 at 07:41 | #6

    To quote binary (adding sudos):

    man a2enmod

    sudo a2enmod rewrite
    sudo /etc/init.d/apache2 restart

    If you cd to mods-enabled and do an ls -l you will notice that these are all just symbolic links (same with sites-enabled). Binary wanted you to read the man page of a2enmod so you would understand what your doing. This post seems to just be an unnecessary hack. You don’t need to touch or edit any file they are already there for you just not enabled.

  7. Juan González
    January 21st, 2009 at 00:00 | #7

    Dude, as CraZy675 says, you just have go to the /etc/apache2/mods-enabled and do this:

    “ln -s ../mods-available/rewrite.load rewrite.load”

    That’s all.

  8. May 14th, 2009 at 15:40 | #8

    Hey bro, what I want it to serve my scripts at MS formatted partition named /media/New Volume? what should I do with the “sudo gedit /etc/apache2/sites-available/default” ?

    Thanks in advance

  9. xMoDx
    May 15th, 2009 at 00:58 | #9


    ServerName domain2
    DocumentRoot /media/New_Volume

    but im not so sure if this will work if it is MS formated “NTFS”, test it and show me the resutlts,

  10. Guido
    May 31st, 2009 at 12:05 | #10

    Thank you very much!
    Good tutorial and it really worked ;)
    Guido

  11. dwalls
    September 14th, 2009 at 09:30 | #11

    Thanks the modrewrite works good.

  12. April 22nd, 2010 at 08:48 | #12

    Thanks so much .. it helps me a lot.. thanks..

    Von

  13. one.perfect.sunrise
    May 9th, 2010 at 21:19 | #13

    The tutorial is excellent !!!
    It worked for me too … txs man …

  14. sergio
    July 13th, 2010 at 14:03 | #14

    great post . thanks

  1. June 17th, 2008 at 06:01 | #1

Improve the web with Nofollow Reciprocity.