.htaccess for forum subdirectory of web not working

Discussion in 'Installation/Configuration' started by IzFazt, Jul 17, 2009.

  1. IzFazt

    IzFazt Member HowtoForge Supporter

    In the web dir there is the working .htaccess for Drupal which I obtained from this forum. There is a subdirectory called forum which has the phpBB SEO version installed. When I activate URL rewriting for phpBB in the forum directory, it says 404 not found for every url and jumps to the root because of other settings for 404 not found. Below is my .htaccess can somebody tell what is wrong?

     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess you have to change the line:

    RewriteBase /

    to:

    RewriteBase /forum/

    as your forum is not in the web root directory.
     
  3. IzFazt

    IzFazt Member HowtoForge Supporter

    tnx for your quick reply, I tried it but it doesnt solve it. In fact also phpBB SEO should have put it automaticly to /forum/ when creatinq this .htaccess file during setup. Normally it does. Somewhere in the environment it doesn't recognise being in a subdir nor does the system obey this .htaccess when changed to /forum/
     
    Last edited: Jul 17, 2009

Share This Page