Jump to content

Question

Posted

Cum pot face la panel sa fie panel.exemplu.tk

Spoiler

RewriteEngine On
RewriteBase /panel/

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule ^(.*)$ index.php?page=$1 [QSA,L]

<files *.js.gz>
    AddType "text/javascript" .gz
    AddEncoding gzip .gz
</files>
<files *.css.gz>
    AddType "text/css" .gz
    AddEncoding gzip .gz
</files>

ReWriteCond %{HTTP:accept-encoding} gzip
RewriteCond %{HTTP_USER_AGENT} !Safari

ReWriteCond %{REQUEST_FILENAME} !^.+.gz$

RewriteCond %{REQUEST_FILENAME}.gz -f

RewriteRule ^(.+) $1.gz [QSA,L]

<IfModule mod_headers.c>
    <FilesMatch "\.(js|css|xml|gz)$">
        Header append Vary: Accept-Encoding
    </FilesMatch>
</IfModule>

<IfModule mod_expires.c>
    ExpiresActive On 

    ExpiresDefault "access plus 1 week"
</IfModule>

ErrorDocument 403 /ucp/404.php

Options -Indexes
 

aici e httpacces. si sus la /panel/ daca schimb nu mai merge

COMUNITATEA MEA DE RESURSE
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
spacer.png
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
www.codeup.ro / www.codeup.ro/forum

1 answer to this question

Recommended Posts

  • 0
Posted
Chiar acum, Erik. a spus:

Cum pot face la panel sa fie panel.exemplu.tk

  Ascunde conținuturi

RewriteEngine On
RewriteBase /panel/

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule ^(.*)$ index.php?page=$1 [QSA,L]

<files *.js.gz>
    AddType "text/javascript" .gz
    AddEncoding gzip .gz
</files>
<files *.css.gz>
    AddType "text/css" .gz
    AddEncoding gzip .gz
</files>

ReWriteCond %{HTTP:accept-encoding} gzip
RewriteCond %{HTTP_USER_AGENT} !Safari

ReWriteCond %{REQUEST_FILENAME} !^.+.gz$

RewriteCond %{REQUEST_FILENAME}.gz -f

RewriteRule ^(.+) $1.gz [QSA,L]

<IfModule mod_headers.c>
    <FilesMatch "\.(js|css|xml|gz)$">
        Header append Vary: Accept-Encoding
    </FilesMatch>
</IfModule>

<IfModule mod_expires.c>
    ExpiresActive On 

    ExpiresDefault "access plus 1 week"
</IfModule>

ErrorDocument 403 /ucp/404.php

Options -Indexes
 

aici e httpacces. si sus la /panel/ daca schimb nu mai merge

n-ai nici-o treaba acolo,ce panel folosesti?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.