.htaccess -> Primary script unknown

Discussion in 'Installation/Configuration' started by commentator, Oct 15, 2017.

  1. commentator

    commentator Member


    Today I installed a server following https://www.howtoforge.com/tutorial...-9-stretch-apache-bind-dovecot-ispconfig-3-1/
    When testing a website (php-fpm) with this .htaccess:
    RewriteEngine on
    RewriteRule ^index.php / [R=301,L]
    RewriteRule  ^[a-z0-9]+\.[a-z0-9]+$ - [NC,L]
    RewriteCond %{ENV:REDIRECT_STATUS} ^$
    RewriteCond %{REQUEST_URI} !^/stats/.*
    RewriteCond %{REQUEST_URI} !^/scripts.js.php
    RewriteCond %{REQUEST_URI} !^/style.css.php
    RewriteRule ^([a-z_0-9/\.-]+)$ myfile.php/$1 [NC,QSA,L]
    I get
    when visiting my.site/mydir
    On the previous server it redirects 'mydir' as parameter to myfile.

    Suggestions/ideas to solve this?
  2. bch

    bch New Member

  3. commentator

    commentator Member

  4. commentator

    commentator Member

    what strange, there is still no reaction after 2 months
    Where can I go to get support if there is no support for this on this forum?
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Probably because your problem is specific to this one website on your server and one would have t install your application and your .htaccess file to debug this.

    You can e.g. contact the ISPConfig support.


Share This Page