Jump to content
php.lv forumi

.htaccess problēma.


Southwind*

Recommended Posts

Es gribu lai http://majaslapa.lv/f direktorijā varētu ieiet man rāda ejot iekšā - 

Tīmekļa lapai ir pārvirzes cilpa

es domāju pie vainas ir .htacess , bet nezinu, ka lai direktorijai atļautu piekļūt...

 

.htacess fails:

<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews
    </IfModule>

    RewriteEngine On

    # Redirect Trailing Slashes...
    RewriteRule ^(.*)/$ /$1 [L,R=301]

    # Handle Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
</IfModule>

Edited by Southwind*
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...