configuring the embedded htaccess path within Wordpress

rambling man
rambling man's picture

Joined: 2006-10-16
Posts: 7
Posted: Mon, 2006-10-16 10:09

Hi people,
I expect I'm doing something incredibly stupid, but I'm having problems setting up mod rewrites for my embedded gallery. I suspect there may be a few issues, but my initial concern is that I'm not sure what my htaccess path and public path should be (indicated by the question marks below). When I enter what I hoped would be the correct settings this is what was returned:

Quote:
URL Rewrite Setup
An error occured while trying to save your settings
Cannot write to the .htaccess file

Embedded Setup

For URL Rewrite to work in an embedded environment you need to set up an extra htaccess file to hold the mod_rewrite rules.
Htaccess path: /homepages/27/d174193448/blog/wp-content/plugins/wpg2/ ???
Public path: http://www.ruralramblings.co.uk/blog/wp-gallery2.php ???
Apache mod_rewrite

Testing if mod_rewrite is supported by the server. Warning

Custom Gallery directory test setup
Gallery tries to test mod_rewrite in action. For this to work you need to edit each of these two files accordingly:

/homepages/27/d174193448/htdocs/shadowshow/modules/rewrite/data/mod_rewrite/custom/.htaccess
Line 6: RewriteBase /shadowshow/modules/rewrite/data/mod_rewrite/custom/

/homepages/27/d174193448/htdocs/shadowshow/modules/rewrite/data/mod_rewrite_no_options/custom/.htaccess
Line 6: RewriteBase /shadowshow/modules/rewrite/data/mod_rewrite_no_options/custom/

Test mod_rewrite manually
For whatever reason, Gallery did not detect a working mod_rewrite setup.

If you are confident that mod_rewrite does work you may override the automatic detection. Please, run these two tests to see for yourself.
mod_rewrite configuration 1 (with global Options +FollowSymlinks)
mod_rewrite configuration 2 (with local Options +FollowSymlinks)

If one of the two tests gives you a page with the text PASS_REWRITE you are good to go.

Gallery .htaccess file
Testing if Gallery can write to the .htaccess file. Success

Embedded .htaccess file
Testing if Gallery can write to the embedded .htaccess file. Error

Please configure the embedded htaccess path.

I've searched the forum for answers but I've just ended up getting even more confused.

Any/all help will be gratefully appreciated!

additional info in case it's relevant is as follows:
My host is 1and1 and my gallery can be found here http://www.ruralramblings.co.uk/blog/wp-gallery2.php

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2006-10-16 12:15
 
rambling man
rambling man's picture

Joined: 2006-10-16
Posts: 7
Posted: Mon, 2006-10-16 15:57

no worries people - I've persevered and worked it out for myself :)

 
vegiemite

Joined: 2005-10-17
Posts: 5
Posted: Tue, 2007-02-06 14:22

Care to share your solution?

 
rambling man
rambling man's picture

Joined: 2006-10-16
Posts: 7
Posted: Tue, 2007-02-06 16:19

Actually I can't remember how I solved this now - sorry, but I know that when upgrading to Blackjack (G2.1) the autoconfiguration worked very well.