Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Using built in rewrite module for phpnuke 7.6

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » GalleryTap View previous topicPrinter friendly versionView next topic
Author Message
floppydrivez

Beginner
Beginner


Joined: May 08, 2006
Posts: 6

PostPosted: Wed Oct 18, 2006 7:25 pm    Post subject: Using built in rewrite module for phpnuke 7.6 Reply with quote

I seem to have this working just fine except for this!

It keeps trying to rewrite the actual nuke theme files. For instance.

Code: › http://www.yoursite.com/v/funny/themes/UD_Light/images/header_09.gif


Any idea's?
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Using built in rewrite module for phpnuke 7.6  

Back to top
floppydrivez

Beginner
Beginner


Joined: May 08, 2006
Posts: 6

PostPosted: Tue Oct 24, 2006 7:20 pm    Post subject: Re: Using built in rewrite module for phpnuke 7.6 Reply with quote

anyone have the regular google tap for gallery2? anyone?
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6274
Location: Washington Township, NJ, USA

PostPosted: Tue Oct 24, 2006 7:45 pm    Post subject: Re: Using built in rewrite module for phpnuke 7.6 Reply with quote

try using the g2 rewrite module, just place the .htaccess code it generates into your phpnuke's .htaccess file.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
floppydrivez

Beginner
Beginner


Joined: May 08, 2006
Posts: 6

PostPosted: Fri Oct 27, 2006 8:01 pm    Post subject: Re: Using built in rewrite module for phpnuke 7.6 Reply with quote

I tried that dari and it works well but it is also rewriting my theme images. Can't figure out how to correct that.
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6274
Location: Washington Township, NJ, USA

PostPosted: Mon Oct 30, 2006 7:55 am    Post subject: Re: Using built in rewrite module for phpnuke 7.6 Reply with quote

post your .htaccess file here (in a code block)
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
floppydrivez

Beginner
Beginner


Joined: May 08, 2006
Posts: 6

PostPosted: Fri Nov 03, 2006 1:14 pm    Post subject: Re: Using built in rewrite module for phpnuke 7.6 Reply with quote

Sorry for long away, here it is

Code: › # BEGIN Url Rewrite section
# (Automatically generated.  Do not edit this section)
<IfModule mod_rewrite.c>

    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d [OR]
    RewriteCond %{REQUEST_FILENAME} gallery\_remote2\.php
    RewriteCond %{REQUEST_FILENAME} !/modules\.php$
    RewriteRule .   -   [L]


    RewriteCond %{THE_REQUEST} \ /c/view/([0-9]+).html(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !/modules\.php$
    RewriteRule .   /modules.php?name=gallery2&g2_view=comment.ShowAllComments&g2_itemId=%1   [QSA,L]

    RewriteCond %{THE_REQUEST} \ /c/add/([0-9]+).html(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !/modules\.php$
    RewriteRule .   /modules.php?name=gallery2&g2_view=comment.AddComment&g2_itemId=%1   [QSA,L]

    RewriteCond %{THE_REQUEST} \ /d/([0-9]+)-([0-9]+)/([^\/\?]+)(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !/modules\.php$
    RewriteRule .   /modules/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=%1&g2_serialNumber=%2&g2_fileName=%3   [QSA,L]

    RewriteCond %{THE_REQUEST} \ /v/([^?]+)(\?.|\ .)
    RewriteCond %{REQUEST_FILENAME} !/modules\.php$
    RewriteRule .   /modules.php?name=gallery2&g2_view=core.ShowItem&g2_path=%1   [QSA,L]

</IfModule>

# END Url Rewrite section
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » GalleryTap View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSearch Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaSEO

6th year online! 2003-2008
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia