 |
Forum PHP Romania - Discutii despre PHP, MySQL, Javascript, AJAX, etc Comunitatea PHP Romania
|
| Subiectul anterior :: Subiectul următor |
| Autor |
Mesaj |
tudord
Data înscrierii: 27/Feb/2006
Mesaje: 239
|
| Trimis: Mie Noi 01, 2006 1:29 pm Titlul subiectului: problema de rewrite ...cred wordpressmu |
|
|
am instalat un blog engine,,,,local merge suuper...
dar cand l'am urcat pe server.. probleme...pot accesa pagina de blog.., insa nu pot sa ma autentific..altfel decat admin... si nu pot sa accesez blogurile nou create...
imi da ceva de genul:
Bad Request
Your browser sent a request that this server could not understand.
Apache/1.3.37 Server at xxxxxxxxx port 80
fisierul htacces e ceva de forma..
RewriteEngine On
RewriteBase /blogs/
# Rewrite www.domain.com to domain.com
RewriteCond %{HTTP_HOST} ^www\.(.*)
RewriteRule ^(.*) http://%1/$1 [R,L]
#uploaded files
RewriteRule ^(.*)?/?files/(.*) wp-content/blogs.php?file=$2 [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
:roll: :roll: ma poate ajuta cu ceva...
local am instalat si merge super.. a fost nevoie sa activez mod_rewrite atat |
|
| Sus |
|
PHPRomania Bot
Bot Member
Data înscrierii: 27/Dec/2007
Mesaje: 1
Locaţie: Server Google |
| Trimis: Mie Dec 26, 2007 7:01 pm Titlul subiectului: Ad |
|
|
|
|
|
| Sus |
|
| |
|