Announcement

Collapse
No announcement yet.

Need to add DirectoryIndex index.php to URI Management .htaccess file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Need to add DirectoryIndex index.php to URI Management .htaccess file

    I need to add DirectoryIndex index.php to an .htaccess file created by the new URI Management system. It has the following in the file:

    Code:
    # Force HTTPS
    RewriteEngine on
    RewriteCond %{SERVER_PORT} 80 
    RewriteRule ^(.*)$ https://www.domain.com/$1 [R,L]
    
    
    
    ### Begin - Miva Merchant URI Management: Direct all non-file URIs to Miva Merchant
    RewriteEngine on
    RewriteCond %{REQUEST_FILENAME} !-s
    RewriteCond %{REQUEST_URI} !^/Merchant2/.*$
    RewriteRule ^(.*)$ /Merchant2/uri.mvc? [QSA,L]
    ### End - Miva Merchant URI Management
    (the names have been changed to protect the innocent)

    Thanks,
    Leslie
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    Re: Need to add DirectoryIndex index.php to URI Management .htaccess file

    I'm not sure what your question is? You can add it, it just shouldn't go between the Begin and End tags.
    David Hubbard
    CIO
    Miva
    [email protected]
    http://www.miva.com

    Comment

    Working...
    X