Problema htaccess

Închis
Avatar utilizator
CiPrRi
Nivel 2

Nivel 2
Mesaje: 190
Membru din: 04 Iun 2015, 06:56
Server: Http://legendlegionm
Regat: Chunjo
Aprecieri: 0
Mulţumiri: 0
 Contact:
Medalii

Salut j4m.

Am pus pe sv meu un nou HP si are fisierul htaccess.

Doresc sa configurez htacces la serverul meu deoarece acum imi da eroare de gen:

Cod: Selectaţi tot

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@website to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Daca sterg htaccess nu imi mai poate configura site catre server de ex: dau pe acasa, sau inregistrare si imi da eroarea asta:

Cod: Selectaţi tot

Not Found

The requested URL /Inregistrare was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Deci daca sterg htaccess tot nu pot folosite hp deoarece nu sunt 100% configurate la server.

Imi spuneti detaliat ce sa modific in htaccess pentru configurarea mea catre site? Va las mai jos fisierul htaccess sub forma de code.

Cod: Selectaţi tot

Options +FollowSymLinks
RewriteEngine On
php_flag safe_mode On
RewriteRule ^Acasa.*$ index.php   [NC]
RewriteRule ^Inregistrare.*$ index.php?page=register   [NC]
RewriteRule ^Descarca.*$ index.php?page=descarcare   [NC]
RewriteRule ^Doneaza.*$ index.php?page=retea   [NC]
RewriteRule ^Magazin.*$ http://metin2nl.ro/shop/   [NC]
RewriteRule ^Regulament.*$ index.php?page=rules   [NC]
RewriteRule ^Administrare.*$ index.php?page=admin-panel   [NC]
RewriteRule ^Panou.*$ index.php?page=panou-user   [NC]
RewriteRule ^Caractere.*$ index.php?page=caractere   [NC]
RewriteRule ^Schimbaremail.*$ index.php?page=schimbare-email   [NC]
RewriteRule ^Schimbaparola.*$ index.php?page=schimbare-pw   [NC]
RewriteRule ^Depozit.*$ index.php?page=parola-depozit   [NC]
RewriteRule ^Stergere.*$ index.php?page=cod-stergere   [NC]
RewriteRule ^Stergerecont.*$ index.php?page=stergere-cont   [NC]
RewriteRule ^Recuperare.*$ index.php?page=recuperare-pw   [NC]
RewriteRule ^Delogare.*$ index.php?page=iesire   [NC]
RewriteRule ^Bresle.*$ index.php?page=bresle   [NC]

php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off

IndexIgnore error_log

RewriteCond %{HTTP_HOST} ^arthemis\.metin2\-arth\.ro$ [OR]
RewriteCond %{HTTP_HOST} ^www\.arthemis\.metin2\-arth\.ro$
RewriteRule ^/?$ "http\:\/\/arthemis\.metin2\-arth\.ro\/Acasa" [R=301,L]
Astept raspunns rapid.

Multumesc!
Avatar utilizator
hacktor_
Nivel 2

Nivel 2
Mesaje: 276
Membru din: 04 Iul 2015, 16:35
Aprecieri: 4  
Mulţumiri: 19  
 Contact:
Medalii

nu ai acces la php_flag sa modifici configuratia php.ini

Cod: Selectaţi tot

    Options +FollowSymLinks
    RewriteEngine On

    RewriteRule ^Acasa.*$ index.php   [NC]
    RewriteRule ^Inregistrare.*$ index.php?page=register   [NC]
    RewriteRule ^Descarca.*$ index.php?page=descarcare   [NC]
    RewriteRule ^Doneaza.*$ index.php?page=retea   [NC]
    RewriteRule ^Magazin.*$ http://metin2nl.ro/shop/   [NC]
    RewriteRule ^Regulament.*$ index.php?page=rules   [NC]
    RewriteRule ^Administrare.*$ index.php?page=admin-panel   [NC]
    RewriteRule ^Panou.*$ index.php?page=panou-user   [NC]
    RewriteRule ^Caractere.*$ index.php?page=caractere   [NC]
    RewriteRule ^Schimbaremail.*$ index.php?page=schimbare-email   [NC]
    RewriteRule ^Schimbaparola.*$ index.php?page=schimbare-pw   [NC]
    RewriteRule ^Depozit.*$ index.php?page=parola-depozit   [NC]
    RewriteRule ^Stergere.*$ index.php?page=cod-stergere   [NC]
    RewriteRule ^Stergerecont.*$ index.php?page=stergere-cont   [NC]
    RewriteRule ^Recuperare.*$ index.php?page=recuperare-pw   [NC]
    RewriteRule ^Delogare.*$ index.php?page=iesire   [NC]
    RewriteRule ^Bresle.*$ index.php?page=bresle   [NC]

    RewriteCond %{HTTP_HOST} ^arthemis\.metin2\-arth\.ro$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.arthemis\.metin2\-arth\.ro$
    RewriteRule ^/?$ "http\:\/\/arthemis\.metin2\-arth\.ro\/Acasa" [R=301,L]
șmecherii fwt, fraierii comentează nene, cu multă stimă și respect.
Afișează semnătura
Avatar utilizator
CiPrRi
Nivel 2

Nivel 2
Mesaje: 190
Membru din: 04 Iun 2015, 06:56
Server: Http://legendlegionm
Regat: Chunjo
Aprecieri: 0
Mulţumiri: 0
 Contact:
Medalii

Thenks!
Avatar utilizator
M.Seby
Utilizator interzis !

Utilizator interzis !
Mesaje: 2685
Membru din: 10 Sep 2013, 15:00
Server: Not Found
Regat: Jinno
Aprecieri: 0
Mulţumiri: 16  
 Contact:
Medalii

T.C
Răspuns primit!
Imagine
Afișează semnătura
Închis
Răspunsuri
5
Vizualizări
650
Răspunsuri
0
Vizualizări
275
Răspunsuri
0
Vizualizări
132

Înapoi la “Probleme Rezolvate”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Google [Bot] și 4 vizitatori