web analytics
17

Install Apache and Enable mod_rewrite Ubuntu Linux

17 Responses so far.

  1. dota says:

    dota…

    Dota is a really great game! Thanks for this post mate!…

  2. binary says:

    man a2enmod

    a2enmod rewrite
    /etc/init.d/apache2 restart

  3. 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…

  4. nadya says:

    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

  5. LysDiod says:

    Thx alot, it worked for me :)

  6. r2d2 says:

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

  7. CraZy675 says:

    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.

  8. Juan González says:

    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.

  9. 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

  10. xMoDx says:


    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,

  11. Guido says:

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

  12. dwalls says:

    Thanks the modrewrite works good.

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

    Von

  14. one.perfect.sunrise says:

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

  15. sergio says:

    great post . thanks

  16. _Vince says:

    Ah, great. Finally a step by step guide, been trawling through dozens of pages, finally one that I can understand and works! :D

  17. Splinky says:

    Hey,
    thx bro for this article ,it fix my prob with mod_rewrite in drupal

Leave a Reply