URL write module for G2 + WPG2
dennys
Joined: 2003-08-24
Posts: 32 |
Posted: Sat, 2005-09-03 15:51 |
I use WPG2 1.0beta to integrate G2 and Wordpress, everything is ok. (Rewrite module of G2 is disabled now.) But when I tried to enable URL rewrite mode, I got a problem. The following is my procedure. <a href="http://localhost/wordpress/v/2004_ski/dennys_ski2.jpg.html" > <img src="http://localhost/wordpress/d/15-2/dennys_ski2.jpg?g2_GALLERYSID=dfa462df24ca5764d32ac14e1b98568f" width="150" height="113" class="giThumbnail" alt="dennys_ski2" longdesc=""/> I think the problem is the url should be "http://localhost/gallery2/...", but it's "http://localhost/wordpress/...". Did I make any mistake in the configuration? WGP2 Configuration: Relative Gallery2 Path: "../gallery2/" Embed Gallery2 Page Name: "wp-gallery2.php" Path from web document root: "wordpress/" Embedded Setup: Htaccess path: "D:\NetWork\Apache\Apache2\htdocs\wordpress" Public path: "http://localhost/wordpress/" ps: I also try "http://localhost/gallery2/" for public path, but the result is the same. Directory structure: Apache root directory: "D:\NetWork\Apache\Apache2\htdocs\" Wordpress: "D:\NetWork\Apache\Apache2\htdocs\wordpress" Gallery2: "D:\NetWork\Apache\Apache2\htdocs\gallery2" Software: Gallery 2 RC2 Wordpress 1.5.2 WGP2 1.0beta |
|
Posts: 32509
please post your wpg2 issues in the dedicated wpg2 forum at http://wpg2.ozgreg.com
Posts: 32
Thanks, but the author of WPG2 suggests me to post this issue here. I already post it here
Posts: 32509
same here, it seems as if you did everything correctly.
when you access g2 standalone, not embedded, and save the rewrite rules again such that it creates the .htaccess file in the gallery2 folder too, does it work in g2 standalone?
if not, you have a problem with mod_rewrite on this server.