Moderator
James Huff
(@macmanx)
Volunteer Moderator
You can only use one .htaccess file per directory. If you all ready have a .htaccess file in that directory, then you need to add the rewrite code to it.
Nope, that s not it.
Same host, but different virtual server/domains…
No problem, it I upload a .htaccess containing
DirectoryIndex index.php index.htm index.html
if I chmod 666 .htaccess
and open this within the online template editor , insert the text from options /permalinks and press “Update file” i get
Forbidden
You don't have permission to access /wp-admin/templates.php on this server.
right away. Then I have to
rm .htaccess
to make the blog accessible again.
I am lost….
Moderator
James Huff
(@macmanx)
Volunteer Moderator
According to any reputable webdesign forum and tutorial, .htaccess should be CHMOD 644 to prevent browsers and external programs from directly accessing it (presenting it in a viewable fashion, thus compromising password-protected directories). Even though WordPress says that it can only access files with CHMOD 666, it can access other files with other CHMOD values as well, such as 644, 777, and 755. Try CHMODing your .htaccess file to 644, see if that has any impact.
Dosnt make sense, because all other value are IMHO more restrictive then 666 (hell, it _the_ numer), but I will try it anyway.
But the blog ist working still after 666ing it, it only stops wenn I insert those lines from options /permalinks and press “Update file”
So I gess it has to be something in this lines…
644 – You cannot update the file/template
777
-> Forbidden
You don’t have permission to access /wp-admin/templates.php on this server.
755 – You cannot update the file/template
Then I changed .htaccess offline, uploaded and then chmod-ed it to all of those numbers: ->
403 Forbidden
You don't have permission to access / on this server.
Apache/1.3.26 Server at www.nanoperium.de Port 80
empty .htaccess uploaded -> everything works fine
How do I grant all users access to a site using .htaccess (in the literature and web i find only examples how to restrict access)?
Maybe that would help
@kafkaesqui:
did it (even tried multi), doesnt work: ->
Forbidden
You don’t have permission to access /index.php on this server.
Apache/1.3.26 Server at http://www.nanoperium.de Port 80
What is it in those lines that closes my server?
Me again.
Is it possible, that mod_rewrite is not running on my server ?
How can I check?
>Ask the admin? 😉
For non-profit projects I have to be the admin myself, I am running the damnd server – so I trying to understand what I am doing. 🙁
>RewriteEngine On
>RewriteRule ^test.php /test2.php [L]
Doesnt work neither.
Well now I have to find out, how to make mod_rewrite running. I just dont get, why it blocks access, instead of throwing an reasonable error. I mean, its linux, not windows, right?
Problem solved, RSS is running.
If you ever happen to have a problem with modrewrite, you might find the solution here (as i did):
http://www.modrewrite.de/foren/ftopic82.html