| View previous topic :: View next topic |
| Author |
Message |
Trane n00b

Joined: 27 Jul 2008 Posts: 4
|
Posted: Wed Jul 30, 2008 4:02 pm Post subject: [Solved]APACHE .htaccess problem |
|
|
Hi thete, i installed apache with mod_rewrite support all is working, mod is loaded corectly.
But.... When i upload or create .htaccess the file simply disappears, even if i try to create it in SSH, when i hit nano .htaccess all code is there, that would be OK but apache cannot see it so, i cant use it 
Last edited by Trane on Wed Jul 30, 2008 4:52 pm; edited 1 time in total |
|
| Back to top |
|
 |
weisso5 Apprentice


Joined: 07 Dec 2007 Posts: 268 Location: NYC
|
Posted: Wed Jul 30, 2008 4:08 pm Post subject: |
|
|
Hello,
Please consult:
-weisso |
|
| Back to top |
|
 |
Trane n00b

Joined: 27 Jul 2008 Posts: 4
|
Posted: Wed Jul 30, 2008 4:18 pm Post subject: |
|
|
| weisso5 wrote: | Hello,
Please consult:
-weisso |
Dont think that this helped me.
Thanks for the quick reply.... |
|
| Back to top |
|
 |
weisso5 Apprentice


Joined: 07 Dec 2007 Posts: 268 Location: NYC
|
Posted: Wed Jul 30, 2008 4:25 pm Post subject: |
|
|
woops, sorry, i thought you said .htpasswd
can you post your .htaccess ?
-weisso |
|
| Back to top |
|
 |
Trane n00b

Joined: 27 Jul 2008 Posts: 4
|
Posted: Wed Jul 30, 2008 4:31 pm Post subject: |
|
|
np, its the htaccess of Wordpress.
| Code: | RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteEngine On
RewriteBase /
AddDefaultCharset UTF-8
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} !.*s=.*
RewriteCond %{QUERY_STRING} !.*attachment_id=.*
RewriteCond %{QUERY_STRING} !.*wp-subscription-manager=.*
RewriteCond %{HTTP_COOKIE} !^.*(comment_author_|wordpress|wp-postpass_).*$
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f
RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz [L]
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} !.*s=.*
RewriteCond %{QUERY_STRING} !.*attachment_id=.*
RewriteCond %{QUERY_STRING} !.*wp-subscription-manager=.*
RewriteCond %{HTTP_COOKIE} !^.*(comment_author_|wordpress|wp-postpass_).*$
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f
RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L] |
|
|
| Back to top |
|
 |
Trane n00b

Joined: 27 Jul 2008 Posts: 4
|
Posted: Wed Jul 30, 2008 4:51 pm Post subject: |
|
|
omg im so stupid , i forgoten to enable htaccess for my domain folder in httpd.conf.
Thank you anyways weisso for your efford of helping me  |
|
| Back to top |
|
 |
|