Results 1 to 3 of 3
  1. #1

    Quick apache2 and mod_rewrite question

    Hi guys, we've been running our software on apache 1.3 for years with no problems. We have a new server running apache2 and now none of our mod_rewrite works. Is there something extra that needs to be done with apache 2 to get mod_rewrite working? The module is definitely loaded (first thing I checked). If we turn on allowOverride from None to All in the httpd.conf we get completely blank pages. Our regular php pages work fine with allowoverride set to none, but they all break when it is set to all. Please help. This is the second time we have run into this on apache 2 servers.

  2. #2
    here's the virtualhost section of the httpd.conf:

    DocumentRoot /var/www/html
    # This is the other address
    DocumentRoot /home/xxx/public_html

    DocumentRoot /home/xxxxxx/public_html/clients


  3. #3
    I got it working. Seems you have to put the .htaccess rewrite rules in the virtualhost section of the httpd.conf. Never had that happen before.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts