We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14736
    • 12 Posts

    I run apache 2.x with mampro on OSX

    I have this in my .htaccess
    and set all friendly url options in the manager to On
    I use the multisite setup
    But can’t get friendly urls to work with this .htaccess:

    #php_flag register_globals Off
    #php_flag zlib.output_compression On
    #php_value zlib.output_compression_level 5

    AddType text/x-component .htc

    ExpiresActive On
    ExpiresByType image/gif A2592000
    ExpiresByType image/jpeg A2592000
    ExpiresByType image/png A2592000
    BrowserMatch "MSIE" brokenvary=1
    BrowserMatch "Mozilla/4.[0-9]{2}" brokenvary=1
    BrowserMatch "Opera" !brokenvary
    SetEnvIf brokenvary 1 force-no-vary


    # Friendly URLs Part
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} .

    # Friendly URLs
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

    Anything Im missing out?
      • 22303 MODX Staff
      • 10,725 Posts
      You’ll have to provide at least what version of MODx you are using and what examples you are referring to.
        • 14736
        • 12 Posts
        Revo version
        Thanks