PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
transit
Regular
Regular


Joined: Jun 01, 2010
Posts: 66

PostPosted: Tue Jul 20, 2010 1:19 am Reply with quote Back to top

I feel rather newbish about posting this but I have a feeling I am not the only one who has ran into troubles installing RN on their site. They are a pretty big company and as such use their own home made ACP instead of the tried and trusted Cpanel.

They have their hostname set up as db2xxx.perfora.net instead of localhost and the dbnames/usernames for the database are single words without using any _ seperations. While I don't think this matters I really don't know why I can't connect! I am getting this error:

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Thoughts!?!
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2403
Location: Pennsylvania

PostPosted: Tue Jul 20, 2010 7:36 am Reply with quote Back to top

I would contact support as this looks like a server setup problem.
View user's profile Send private message Visit poster's website
Susann
Moderator


Joined: Dec 19, 2004
Posts: 3132
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Tue Jul 20, 2010 10:28 am Reply with quote Back to top

Single words for the database without any seperations shouldnīt be a problem also an other name instead of localhost
Not everybody is using Cpanel. Itīs possible you canīt connect because your database name is wrong. Btw: If you canīt find it out just ask your host like Palbin suggest.
View user's profile Send private message Visit poster's website
transit
Regular
Regular


Joined: Jun 01, 2010
Posts: 66

PostPosted: Tue Jul 20, 2010 4:46 pm Reply with quote Back to top

Everything is correct, however is it possible that exporting from one phpmyadmin to the other since the one i am importing to is of an older vers could cause descrepencies? How can I export the tables in a very basic way?

One thing I did notice is the phrasing for utf-8 is a bit different settings for each.... thoughts?
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2403
Location: Pennsylvania

PostPosted: Tue Jul 20, 2010 5:39 pm Reply with quote Back to top

None of that would stop you from connecting.
View user's profile Send private message Visit poster's website
rebelt
Worker
Worker


Joined: May 07, 2006
Posts: 138

PostPosted: Tue Jul 20, 2010 6:16 pm Reply with quote Back to top

I use 1 and 1 (although the UK 1 and 1 does seem a bit pricey compared to the US one)

Host names are db1234.oneandone.co.uk
DB name is db12345678
Username dbo12345678

Their support line usually has someone with english as a second language and it's sometimes a struggle.
View user's profile Send private message Visit poster's website
transit
Regular
Regular


Joined: Jun 01, 2010
Posts: 66

PostPosted: Wed Jul 21, 2010 7:54 am Reply with quote Back to top

I got it up and running, however errordocuments module is kicking in any time I try browsing any of my site. Admin panel does let me log in and I did change the site url but no differences. I dont understand because errordocuments isnt even an active module...
Only registered users can see links on this board!
Get registered or login to the forums!


hmmm....

Thnoughts?
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2403
Location: Pennsylvania

PostPosted: Wed Jul 21, 2010 10:05 am Reply with quote Back to top

If your logged in as an admin it will work for you not matter what.

What does the error documents page say? Also logout of admin and see what happens.
View user's profile Send private message Visit poster's website
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1251
Location: Texas, USA

PostPosted: Wed Jul 21, 2010 11:25 am Reply with quote Back to top

hm those links are producing some strange requests... what did you put in the site url?
Only registered users can see links on this board!
Get registered or login to the forums!
?
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1435
Location: North Carolina

PostPosted: Wed Jul 21, 2010 11:41 am Reply with quote Back to top

Check to make sure your shortlinks are setup correctly in your htaccess as well as ShortLinks folder.
View user's profile Send private message Send e-mail Visit poster's website
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2403
Location: Pennsylvania

PostPosted: Wed Jul 21, 2010 11:47 am Reply with quote Back to top

transit, post the contents of your htaccess file.

Did you take the stuff in ShortLinks.htaccess and enter it into your .htaccess file?
View user's profile Send private message Visit poster's website
transit
Regular
Regular


Joined: Jun 01, 2010
Posts: 66

PostPosted: Wed Jul 21, 2010 4:30 pm Reply with quote Back to top

Code:
#####################################################
#  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#  THESE INSTRUCTIONS APPLY TO ALL Options DIRECTIVES
#
# The lines below this section that begin with Options may cause problems
# with some server configurations.  They are required for certain functions
# of Apache and RavenNuke(tm), but may already be set by your server administrator in a way
# that dissallows changing them in your .htaccess file.  If using any of them causes your server
# to error out, comment them out (add # to beginning of line), reload your site in your browser
# and test the functionality that is affected.  If it works, then it has been set by your server
# administrator and you do not need it set here.
#####################################################

#
# TegoNuke(tm) ShortLinks version 1.2.1
#
# This file contains the rewrite rules necessary to force Apache to recognize your
# shortened links and to rewrite them back to what PHP-Nuke is expecting.
# Copy and paste these rules into your .htaccess file in the root of your PHP-Nuke
# Installation.  Whatever you do, make sure these are ABOVE NukeSentinel's area
# where it is to write its blocked IPs.
#
# For better performance, remove sections of rules for modules that you do not have
# active on your site.
#

RewriteEngine on

RewriteRule ^index.html index.php
RewriteRule ^index.htm index.php

#Advertising
RewriteRule ^advertising-(client_report|view_banner)-([0-9]*)-([0-9]*).html modules.php?name=Advertising&op=$1&cid=$2&bid=$3 [L]
RewriteRule ^advertising-(sitestats|terms|plans|client_home|client_logout|client|logout).html modules.php?name=Advertising&op=$1 [L]
RewriteRule ^advertising.html modules.php?name=Advertising [L]

#Articles (News)
RewriteRule ^article-([0-9]*)-([a-z]*)-([0-9]*)-([-0-9]*).html article.html$1&mode=$2&order=$3&thold=$4 [L]
RewriteRule ^article-comments-([0-9]*)-([0-9]*).html modules.php?name=News&file=comments&sid=$1&pid=$2 [L]
RewriteRule ^article-reply-([0-9]*)-([0-9]*).html modules.php?name=News&file=comments&op=Reply&pid=$1&sid=$2 [L]
RewriteRule ^article-showreply-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=News&file=comments&op=showreply&tid=$1&sid=$2&pid=$3 [L]
RewriteRule ^article-([0-9-]*)-([a-z]*)-([0-9]*)-([0-9]*).html([0-9#]*) modules.php?name=News&file=article&thold=$1&mode=$2&order=$3&sid=$4$5 [L]
RewriteRule ^article-topic([0-9]*)-page([0-9]*).html article-topic-.html$1&pagenum=$2 [L]
RewriteRule ^article-category([0-9]*)-page([0-9]*).html modules.php?name=News&file=categories&op=newindex&catid=$1&pagenum=$2 [L]
RewriteRule ^article-category-([0-9]*).html modules.php?name=News&file=categories&op=newindex&catid=$1 [L]
RewriteRule ^article-print-([0-9]*).html modules.php?name=News&file=print&sid=$1 [L]
RewriteRule ^article-friend-([0-9]*).html modules.php?name=News&file=friend&op=FriendSend&sid=$1 [L]
RewriteRule ^article-friend.html modules.php?name=News&file=friend [L]
RewriteRule ^article-page-([0-9]*).html .html$1 [L]
RewriteRule ^article([1-9][0-9]*).* article.html$1 [L]
RewriteRule ^article-topic-([0-9]*).html article-topic-.html$1 [L]
RewriteRule ^article-comments.html modules.php?name=News&file=comments [L]
RewriteRule ^allnews.html modules.php?name=News&file=allindex [L]
RewriteRule ^news.html modules.php?name=News [L]

#AvantGo
RewriteRule ^avantgo-print-([0-9]*).html modules.php?name=AvantGo&file=print&sid=$1 [L]
RewriteRule ^avantgo.html modules.php?name=AvantGo [L]

#Comments
RewriteRule ^article-comment-([0-9]*)-([0-9]*).html modules.php?name=News&file=comments&sid=$1&tid=$2 [L]
RewriteRule ^survey-comment-([0-9]*)-([0-9]*).html modules.php?name=Surveys&file=comments&pollID=$1&tid=$2 [L]
RewriteRule ^comments.html modules.php?name=Comments [L]

#Content Plus
RewriteRule ^content-([0-9]*)-page([0-9]*).html contentid-.html$1&page=$2 [L]
RewriteRule ^content-cat-([0-9]*)-order-([0-9]*).html content-cat-.html$1&order=$2 [L]
RewriteRule ^content-cat-([0-9]*).html content-cat-.html$1 [L]
RewriteRule ^content-([0-9]*).html contentid-.html$1 [L]
RewriteRule ^content-send-page.html modules.php?name=Content&pa=send_page [L]
RewriteRule ^content-preview-page.html modules.php?name=Content&pa=preview_page [L]
RewriteRule ^content-add-page.html modules.php?name=Content&pa=add_page [L]
RewriteRule ^content-browse-tag-([/:\-\'{}()\,\._&a-zA-Z0-9+=\ ]*)-order-([0-9]*).html modules.php?name=Content&pa=browse_tag&tag=$1&order=$2 [L]
RewriteRule ^content-browse-tag-([/:\-\'{}()\,\._&a-zA-Z0-9+=\ ]*).html modules.php?name=Content&pa=browse_tag&tag=$1 [L]
RewriteRule ^content-browse-tags.html modules.php?name=Content&pa=browse_tags [L]
RewriteRule ^content-print-page-([0-9]*).html modules.php?name=Content&pa=print_page&pid=$1 [L]
RewriteRule ^content-print-pdf-([0-9]*).html modules.php?name=Content&pa=print_pdf&pid=$1 [L]
RewriteRule ^content-share-page-([0-9]*).html modules.php?name=Content&pa=share_page&op=FriendSend&pid=$1 [L]
RewriteRule ^content-send-page-([0-9]*).html modules.php?name=Content&pa=share_page&op=SendPage&pid=$1 [L]
RewriteRule ^content.html modules.php?name=Content [L]

#Downloads
RewriteRule ^downloadview-(comments|details|editorial)-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Downloads&d_op=viewdownload$1&lid=$2&ttitle=$3 [L]
RewriteRule ^downloadview-(comments|details|editorial)-([0-9]*).html modules.php?name=Downloads&d_op=viewdownload$1&lid=$2 [L]
RewriteRule ^download-mod-([0-9]*).html modules.php?name=Downloads&d_op=modifydownloadrequest&lid=$1 [L]
RewriteRule ^download-broken-([0-9]*).html modules.php?name=Downloads&d_op=brokendownload&lid=$1 [L]
RewriteRule ^download-shownew-([0-9]*).html modules.php?name=Downloads&d_op=NewDownloads&newdownloadshowdays=$1 [L]
RewriteRule ^download-seldate-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=NewDownloadsDate&selectdate=$1 [L]
RewriteRule ^download-file-([0-9]*).html modules.php?name=Downloads&d_op=getit&lid=$1 [L]
RewriteRule ^ratedownload-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Downloads&d_op=ratedownload&lid=$1&ttitle=$2 [L]
RewriteRule ^ratedownload-([0-9]*).html modules.php?name=Downloads&d_op=ratedownload&lid=$1 [L]
RewriteRule ^download-(TopRated|MostPopular)-([0-9]*)-(num|percent).html modules.php?name=Downloads&d_op=$1&ratenum=$2&ratetype=$3 [L]
RewriteRule ^downloads-(AddDownload|NewDownloads|MostPopular|TopRated).html modules.php?name=Downloads&d_op=$1 [L]
RewriteRule ^download([0-9]*)-orderby([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1&orderby=$2 [L]
RewriteRule ^download([0-9]*)-([0-9]*)-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*)-([0-9]*)-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Downloads&d_op=search&query=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*)-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=search&query=$1&orderby=$2 [L]
RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Downloads&d_op=search&query=$1 [L]
RewriteRule ^download-outside-([0-9]*).html modules.php?name=Downloads&d_op=outsidedownloadsetup&lid=$1 [L]
RewriteRule ^downloads-cat([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1 [L]
RewriteRule ^downloads.html downloads.html [L]

#Encyclopedia
RewriteRule ^encyclopedia-([0-9]*)-page([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Encyclopedia&op=content&tid=$1&page=$2&query=$3 [L]
RewriteRule ^encyclopedia-([0-9]*)-page([0-9]*).html modules.php?name=Encyclopedia&op=content&tid=$1&page=$2 [L]
RewriteRule ^encyclopedia-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Encyclopedia&op=content&tid=$1&query=$2 [L]
RewriteRule ^encyclopedia-([0-9]*).html modules.php?name=Encyclopedia&op=content&tid=$1 [L]
RewriteRule ^encyclopedia-list-([0-9]*).html modules.php?name=Encyclopedia&op=list_content&eid=$1 [L]
RewriteRule ^encyclopedia-terms([0-9]*)-([A-Z]*).html modules.php?name=Encyclopedia&op=terms&eid=$1&ltr=$2 [L]
RewriteRule ^encyclopedia-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Encyclopedia&file=search&query=$1 [L]
RewriteRule ^encyclopedia-search.html modules.php?name=Encyclopedia&file=search [L]
RewriteRule ^encyclopedia.html modules.php?name=Encyclopedia [L]

#Feedback
RewriteRule ^feedback.html contact.html [L]

#Feeds - nukeFEED
RewriteRule ^feeds-([0-9]*).html modules.php?name=Feeds&fid=$1&type=HTML [L]
RewriteRule ^feeds-([0-9]*)-rss([0-9]*).xml modules.php?name=Feeds&fid=$1&type=RSS$2 [L]
RewriteRule ^feeds-([0-9]*)-atom([0-9]*).xml modules.php?name=Feeds&fid=$1&type=ATOM$2 [L]
RewriteRule ^feeds-map-opml.xml modules.php?name=Feeds&op=map&type=OPML [L]
RewriteRule ^feeds.html modules.php?name=Feeds [L]

#FAQ
RewriteRule ^faq.html faq.html [L]
RewriteRule ^faq-([0-9]*)-([a-zA-Z0-9\+\&\-\/%[:punct:]\.\;\ ]*).html faq.html&myfaq=yes&id_cat=$1&categories=$2 [L]

#Forums
RewriteRule ^ftopic-([0-9]*)-([0-9]*)-days([0-9]*)-order(desc|asc)-([A-Za-z0-9+_-]*).html forums.html&file=viewtopic&t=$1&start=$2&postdays=$3&postorder=$4&highlight=$5 [L]
RewriteRule ^ftopic-([0-9]*)-days([0-9]*)-order(desc|asc)-([A-Za-z0-9+_-]*)-([0-9]*).html forums.html&file=viewtopic&t=$1&postdays=$2&postorder=$3&highlight=$4&start=$5 [L]
RewriteRule ^ftopic-([0-9]*)-days([0-9]*)-order(desc|asc)-([0-9]*).html forums.html&file=viewtopic&t=$1&postdays=$2&postorder=$3&start=$4 [L]
RewriteRule ^ftopic-voteresults-([0-9]*)-days([0-9]*)-order(desc|asc).html forums.html&file=viewtopic&t=$1&postdays=$2&postorder=$3&vote=viewresult [L]
RewriteRule ^ftopic-([0-9]*)-([0-9]*).html forums.html&file=viewtopic&t=$1&start=$2 [L]
RewriteRule ^ftopic-([0-9]*)-(previous|next|newest).html forums.html&file=viewtopic&t=$1&view=$2 [L]
RewriteRule ^ftopic(t|p)-([0-9]*)-([A-Za-z0-9+_-]*).html forums.html&file=viewtopic&$1=$2&highlight=$3 [L]
RewriteRule ^ftopic-([0-9]*)-(watch|unwatch)-([0-9]*).html forums.html&file=viewtopic&t=$1&$2=topic&start=$3 [L]
RewriteRule ^ftopic(t|p)-([0-9]*).html forums.html&file=viewtopic&$1=$2 [L]
RewriteRule ^ftopic(t|p)-([0-9]*).html#([0-9]*) forums.html&file=viewtopic&$1=$2#$3 [L]
RewriteRule ^forum-editprofile.html forums.html&file=profile&mode=editprofile [L]
RewriteRule ^forum-userprofile-([0-9]*).html profile-.html$1 [L]
RewriteRule ^forum-register-new.html forums.html&file=profile&mode=register&agreed=true [L]
RewriteRule ^forum-register-coppa.html forums.html&file=profile&mode=register&agreed=true&coppa=true [L]
RewriteRule ^forum-register.html forums.html&file=profile&mode=register [L]
RewriteRule ^forums-posting.html forums.html&file=modules&name=Forums&file=posting [L]
RewriteRule ^forum-faq-bbcode.html forums.html&file=faq&mode=bbcode [L]
RewriteRule ^ftopic-post-([0-9]*).html forums.html&file=posting&t=$1 [L]
RewriteRule ^ftopic-quote-([0-9]*).html forums.html&file=posting&mode=quote&p=$1 [L]
RewriteRule ^ftopic-vote-([0-9]*).html forums.html&file=posting&mode=vote&t=$1 [L]
RewriteRule ^ftopic-new-([0-9]*).html forums.html&file=posting&mode=newtopic&f=$1 [L]
RewriteRule ^ftopic-edit-([0-9]*).html forums.html&file=posting&mode=editpost&p=$1 [L]
RewriteRule ^ftopic-reply-([0-9]*).html forums.html&file=posting&mode=reply&t=$1 [L]
RewriteRule ^ftopic-delete-([0-9]*).html forums.html&file=posting&mode=delete&p=$1 [L]
RewriteRule ^ftopic-smilies.html forums.html&file=posting&mode=smilies&popup=1 [L]
RewriteRule ^ftopic-topicreview-([0-9]*).html forums.html&file=posting&mode=topicreview&t=$1&popup=1 [L]
RewriteRule ^forum-posting.html forums.html&file=posting [L]
RewriteRule ^forums-group([0-9]*)-([0-9]*).html forums.html&file=groupcp&g=$1&start=$2 [L]
RewriteRule ^forums-group([0-9]*).html forums.html&file=groupcp&g=$1 [L]
RewriteRule ^fsearch-author-([a-zA-Z0-9_-]*).html search-.html$1 [L]
RewriteRule ^fsearch-([0-9]*)-([0-9]*).html forums.html&file=search&search_id=$1&start=$2 [L]
RewriteRule ^fsearch-(unanswered|egosearch|newposts).html forums.html&file=search&search_id=$1 [L]
RewriteRule ^fsearch-results.html forums.html&file=search&mode=results [L]
RewriteRule ^forums-([^index][a-zA-Z0-9_-]*).html forums.html&file=$1 [L]
RewriteRule ^forum-c([0-9]*).html forums.html&file=index&c=$1 [L]
RewriteRule ^forum-mark.html forums.html&file=index&mark=forums [L]
RewriteRule ^forums.html forums.html&file=index [L]
RewriteRule ^forum-viewonline.html forums.html&file=viewonline [L]
RewriteRule ^forum-([0-9]*)-days([0-9]*)-([0-9]*).html forums.html&file=viewforum&f=$1&topicdays=$2&start=$3 [L]
RewriteRule ^forum-([0-9]*)-([0-9]*).html forums.html&file=viewforum&f=$1&start=$2 [L]
RewriteRule ^forum-([0-9]*)-mark.html forums.html&file=viewforum&f=$1&mark=topics [L]
RewriteRule ^forum-([0-9]*).html forums.html&file=viewforum&f=$1 [L]
RewriteRule ^forums.html forums.html [L]

#GCalendar
RewriteRule ^eventscalendar-(viewday|viewweek)-([0-9]*)-([0-9]*)-([0-9]*)-event([0-9]*)-print.html modules.php?name=GCalendar&file=$1&y=$2&m=$3&d=$4&e=$5&printable=1 [L]
RewriteRule ^eventscalendar-(submit|viewday|viewweek|friend)-([0-9]*)-([0-9]*)-([0-9]*)-event([0-9]*).html modules.php?name=GCalendar&file=$1&y=$2&m=$3&d=$4&e=$5 [L]
RewriteRule ^eventscalendar-(viewday|viewweek)-([0-9]*)-([0-9]*)-([0-9]*)-print.html modules.php?name=GCalendar&file=$1&y=$2&m=$3&d=$4&printable=1 [L]
RewriteRule ^eventscalendar-(submit|viewday|viewweek)-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=GCalendar&file=$1&y=$2&m=$3&d=$4 [L]
RewriteRule ^eventscalendar-edit-([0-9]*)-([0-9]*)-([0-9]*)-event([0-9]*).html modules.php?name=GCalendar&file=edit&y=$1&m=$2&d=$3&eventId=$4 [L]
RewriteRule ^eventscalendar-edit-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=GCalendar&file=edit&y=$1&m=$2&d=$3 [L]
RewriteRule ^eventscalendar-submit-([0-9]*)-([0-9]*).html modules.php?name=GCalendar&file=submit&y=$1&m=$2 [L]
RewriteRule ^eventscalendar-([0-9]*)-([0-9]*)-print.html modules.php?name=GCalendar&y=$1&m=$2&printable=1 [L]
RewriteRule ^eventscalendar-([0-9]*)-([0-9]*).html modules.php?name=GCalendar&y=$1&m=$2 [L]
RewriteRule ^eventscalendar-submit.html modules.php?name=GCalendar&file=submit&op=submit [L]
RewriteRule ^eventscalendar-(viewweek|rsvp|friend).html modules.php?name=GCalendar&file=$1 [L]
RewriteRule ^eventscalendar.html modules.php?name=GCalendar [L]

#NSN Groups
RewriteRule ^groups-([0-9]*).html modules.php?name=Groups&op=GRInfo&gid=$1 [L]
RewriteRule ^groups.html modules.php?name=Groups [L]

#HTML Newsletter
RewriteRule ^html_newsletter-([0-9]*).html modules.php?name=HTML_Newsletter&file=index&op=msnl_nls_view&msnl_nid=$1 [L]
RewriteRule ^html_newsletter-copyright.html modules.php?name=HTML_Newsletter&op=msnl_copyright_credits [L]
RewriteRule ^html_newsletter.html modules.php?name=HTML_Newsletter [L]

#Journal
RewriteRule ^journal(search|delete|commentkill)-(bywhat|jid|onwhat)([a-zA-Z0-9]*)-(forwhat|ref)([a-zA-Z0-9_-]*).html journal.html&file=$1&$2=$3&$4=$5 [L]
RewriteRule ^journal-search-([0-9]*)-([a-zA-Z0-9_-]*).html journal.html&file=search&bywhat=$1&forwhat=$2 [L]
RewriteRule ^journal-([a-zA-Z0-9+]*)-(jid|onwhat|disp|op)-([a-zA-Z0-9+]*).html journal.html&file=$1&$2=$3 [L]
RewriteRule ^journal-search-([a-zA-Z0-9_-]*).html journal.html&file=search&bywhat=aid&exact=1&forwhat=$1 [L]
RewriteRule ^journal-edit.html journal.html&file=edit [L]
RewriteRule ^journal(file|op)-([a-zA-Z0-9]*).html journal.html&$1=$2 [L]
RewriteRule ^journal.html journal.html [L]

#Legal
RewriteRule ^legal-([a-zA-Z0-9_-]*).html modules.php?name=Legal&op=$1 [L]
RewriteRule ^legal.html modules.php?name=Legal [L]

#Members List
RewriteRule ^members-([a-z]*)-sortasc-([0-9]*).html modules.php?name=Members_List&file=index&mode=$1&order=ASC&start=$2 [L]
RewriteRule ^members-([a-z]*)-sortdesc-([0-9]*).html modules.php?name=Members_List&file=index&mode=$1&order=DESC&start=$2 [L]
RewriteRule ^members.html modules.php?name=Members_List [L]

#MetAuthors - only additional rewrite rules not already present will go here
RewriteRule ^metauthors.html modules.php?name=rwsMetAuthors [L]

#Project Tracking
RewriteRule ^project-([0-9]*).html modules.php?name=Project_Tracking&op=PJProject&project_id=$1 [L]
RewriteRule ^project-task-([0-9]*).html modules.php?name=Project_Tracking&op=PJTask&task_id=$1 [L]
RewriteRule ^project-([0-9]*)-submit-report.html modules.php?name=Project_Tracking&op=PJReportSubmit&project_id=$1 [L]
RewriteRule ^project-([0-9]*)-submit-request.html modules.php?name=Project_Tracking&op=PJRequestSubmit&project_id=$1 [L]
RewriteRule ^project-report-([0-9]*).html modules.php?name=Project_Tracking&op=PJReport&report_id=$1 [L]
RewriteRule ^project-request-([0-9]*).html modules.php?name=Project_Tracking&op=PJRequest&request_id=$1 [L]
RewriteRule ^project-report-comment-([0-9]*).html modules.php?name=Project_Tracking&op=PJReportCommentSubmit&report_id=$1 [L]
RewriteRule ^project-request-comment-([0-9]*).html modules.php?name=Project_Tracking&op=PJRequestCommentSubmit&request_id=$1 [L]
RewriteRule ^project-task-map.html modules.php?name=Project_Tracking&op=PJTaskMap [L]
RewriteRule ^project-report-map.html modules.php?name=Project_Tracking&op=PJReportMap [L]
RewriteRule ^project-request-map.html modules.php?name=Project_Tracking&op=PJRequestMap [L]
RewriteRule ^project.html modules.php?name=Project_Tracking [L]

#NukeSentinel
RewriteRule ^nukesentinel.html modules.php?name=NukeSentinel [L]

#Private Messages
RewriteRule ^messages-read-(savebox|inbox|outbox|sentbox)-([0-9]*).html modules.php?name=Private_Messages&file=index&folder=$1&mode=read&p=$2 [L]
RewriteRule ^messages-start-(savebox|inbox|outbox|sentbox)-([0-9]*).html modules.php?name=Private_Messages&file=index&folder=$1&start=$2 [L]
RewriteRule ^messages-(reply|quote|edit)-([0-9]*).html modules.php?name=Private_Messages&file=index&mode=$1&p=$2 [L]
RewriteRule ^messages-post-([0-9]*).html messages-.html$1 [L]
RewriteRule ^messages-new.html modules.php?name=Private_Messages&file=index&mode=post [L]
RewriteRule ^messages-(sentbox|inbox|savebox|outbox).html modules.php?name=Private_Messages&file=index&folder=$1 [L]
RewriteRule ^messages-popup.html modules.php?name=Private_Messages&file=index&mode=newpm&popup=1 [L]
RewriteRule ^messages.html modules.php?name=Private_Messages [L]

#Recommend Us
RewriteRule ^recommend.html recommend.html [L]

#Reviews
RewriteRule ^reviews-new.html reviews.html&rop=write_review [L]
RewriteRule ^reviews-preview.html reviews.html&rop=preview_review [L]
RewriteRule ^reviews-([0-9]*)-page([0-9]*).html reviews.html&rop=showcontent&id=$1&page=$2 [L]
RewriteRule ^reviews-([0-9]*).html reviews.html&rop=showcontent&id=$1 [L]
RewriteRule ^reviews-comment-([0-9]*)-([[:punct:]?/:\-\'{}()._&a-zA-Z0-9+=\%\ ]*).html reviews.html&rop=postcomment&id=$1&title=$2 [L]
RewriteRule ^reviews-comment-([0-9]*).html reviews.html&rop=postcomment&id=$1 [L]
RewriteRule ^reviews-([0-9]*)-delete.html reviews.html&rop=del_review&id_del=$1 [L]
RewriteRule ^reviews-([0-9]*)-edit.html reviews.html&rop=mod_review&id=$1 [L]
RewriteRule ^reviews-([0-9]*)-delcomment-([0-9]*).html reviews.html&rop=del_comment&cid=$1&id=$2 [L]
RewriteRule ^reviews-([a-zA-Z0-9]*)-orderby-([a-z]*)-([a-zA-Z]*).html reviews.html&rop=$1&field=$2&order=$3 [L]
RewriteRule ^reviews-sortby-([a-zA-Z0-9]*).html reviews.html&rop=$1 [L]
RewriteRule ^reviews.html reviews.html [L]

#Search
RewriteRule ^search-([a-zA-Z0-9]*)-([0-9]*)-([0-9]*)-([/:\-\'{}()\,\._&a-zA-Z0-9+=\ ]*)-([a-zA-Z]*)-([0-9]*).html modules.php?name=Search&author=$1&topic=$2&min=$3&query=$4&type=$5&category=$6 [L]
RewriteRule ^search-([a-zA-Z0-9]*)-([0-9]*)-([0-9]*)-([/:\-\'{}()\,\._&a-zA-Z0-9+=\ ]*)-([a-zA-Z]*).html modules.php?name=Search&author=$1&topic=$2&min=$3&query=$4&type=$5 [L]
RewriteRule ^search-author-([a-zA-Z0-9]*).html modules.php?name=Search&author=$1 [L]
RewriteRule ^search-([/:\-\'{}()\,\._&a-zA-Z0-9+=\ ]*)-([a-zA-Z0-9_-]*).html modules.php?name=Search&query=$1&author=$2 [L]
RewriteRule ^search-([0-9]*).html modules.php?name=Search&query=&topic=$1 [L]
RewriteRule ^search-comments-([0-9]*).html modules.php?name=Search&type=comments&sid=$1 [L]
RewriteRule ^search-users.html modules.php?name=Search&type=users [L]
RewriteRule ^search.html* modules.php?name=Search [L]

#Statistics
RewriteRule ^stats-([0-9]*)-([0-9]*)-([0-9]*).html stats.html&op=DailyStats&year=$1&month=$2&date=$3 [L]
RewriteRule ^stats-([0-9]*)-([0-9]*).html stats.html&op=MonthlyStats&year=$1&month=$2 [L]
RewriteRule ^stats-([0-9]*).html stats-.html$1 [L]
RewriteRule ^advstats.html advstats.html [L]
RewriteRule ^stats.html stats.html [L]

#Stories Archive
RewriteRule ^archive-showall-([0-9]*).html archive.html&sa=show_all&min=$1 [L]
RewriteRule ^archive-showall.html archive.html&sa=show_all [L]
RewriteRule ^archive-([0-9]*)-([0-9]*)-([a-zA-Z]*).* archive.html&sa=show_month&year=$1&month=$2&month_l=$3 [L]
RewriteRule ^archive.html archive.html [L]

#Surveys
RewriteRule ^survey-results-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&op=results&pollID=$1&mode=$2&order=$3&thold=$4 [L]
RewriteRule ^survey-results-([0-9]*).html modules.php?name=Surveys&op=results&pollID=$1 [L]
RewriteRule ^survey-([0-9]*).html modules.php?name=Surveys&pollID=$1 [L]
RewriteRule ^survey-comments-([0-9]*)-([0-9]*).html modules.php?name=Surveys&file=comments&pollID=$1&pid=$2 [L]
RewriteRule ^survey-comment-([0-9]*)-([0-9]*).html modules.php?name=Surveys&file=comments&pollID=$1&tid=$2 [L]
RewriteRule ^survey-comment-([0-9]*)-(tid|pid)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&pollID=$1&$2=$3&mode=$4&order=$5&thold=$6 [L]
RewriteRule ^survey-commreply-([0-9]*)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=Reply&pid=$1&pollID=$2&mode=$3&order=$4&thold=$5 [L]
RewriteRule ^survey-commreply-([0-9]*)-([0-9]*).html modules.php?name=Surveys&file=comments&op=Reply&pid=$1&pollID=$2 [L]
RewriteRule ^survey-showreply-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=Surveys&file=comments&op=showreply&tid=$1&pollID=$2&pid=$3 [L]
RewriteRule ^survey-showreply-([0-9]*)-([0-9]*)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=showreply&tid=$1&pollID=$2&pid=$3&mode=$4&order=$5&thold=$6 [L]
RewriteRule ^survey-showreply-([0-9]*).html modules.php?name=Surveys&file=comments&op=showreply&tid=$1 [L]
RewriteRule ^survey-showreply-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=showreply&tid=$1&mode=$2&order=$3&thold=$4 [L]
RewriteRule ^survey-comments.html modules.php?name=Surveys&file=comments [L]
RewriteRule ^surveys.html modules.php?name=Surveys [L]

#Submit_News
RewriteRule ^submit.html submit.html [L]

#Topics
RewriteRule ^topics.html topics.html [L]

#Top10
RewriteRule ^top-([[:print:]]*).html top.html&zx=$1 [L]
RewriteRule ^top.html top.html [L]

#WebLinks
RewriteRule ^viewlinkcomments-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html links.html&l_op=viewlinkcomments&lid=$1&ttitle=$2 [L]
RewriteRule ^viewlinkcomments-([0-9]+).html links.html&l_op=viewlinkcomments&lid=$1 [L]
RewriteRule ^viewlinkdetails-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html links.html&l_op=viewlinkdetails&lid=$1&ttitle=$2 [L]
RewriteRule ^viewlinkdetails-([0-9]+).html links.html&l_op=viewlinkdetails&lid=$1 [L]
RewriteRule ^vieweditorial-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html links.html&l_op=viewlinkeditorial&lid=$1&ttitle=$2 [L]
RewriteRule ^vieweditorial-([0-9]+).html links.html&l_op=viewlinkeditorial&lid=$1 [L]
RewriteRule ^modifylink-([0-9]+).html links.html&l_op=modifylinkrequest&lid=$1 [L]
RewriteRule ^brokenlink-([0-9]+).html links.html&l_op=brokenlink&lid=$1 [L]
RewriteRule ^outsidelink-([0-9]+).html links.html&l_op=outsidelinksetup&lid=$1 [L]
RewriteRule ^linkop-(MostPopular|mostpopular)-([0-9]+)-(num|percent).html linkop-MostPopular.html&ratenum=$2&ratetype=$3 [L]
RewriteRule ^linkop-(TopRated|toprated)-([0-9]+)-(num|percent).html linkop-TopRated.html&ratenum=$2&ratetype=$3 [L]
RewriteRule ^newlinks-([0-9]+).html modules.php\?name=Web_Links&l_op=NewLinks&newlinkshowdays=$1 [L]
RewriteRule ^linksnew-([0-9]+).html modules.php?op=modload&name=Web_Links&file=index&l_op=NewLinksDate&selectdate=$1 [L]
RewriteRule ^linkop-(AddLink|addlink).html modules.php?op=modload&name=Web_Links&file=index&l_op=AddLink [L]
RewriteRule ^linkop-(MostPopular|mostpopular).html modules.php?op=modload&name=Web_Links&file=index&l_op=MostPopular [L]
RewriteRule ^linkop-(NewLinks|newlinks).html modules.php?op=modload&name=Web_Links&file=index&l_op=NewLinks [L]
RewriteRule ^linkop-(RandomLink|randomlink).html modules.php?op=modload&name=Web_Links&file=index&l_op=RandomLink [L]
RewriteRule ^linkop-(TopRated|toprated).html modules.php?op=modload&name=Web_Links&file=index&l_op=TopRated [L]
RewriteRule ^ratelink-([0-9]*)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?op=modload&name=Web_Links&file=index&l_op=ratelink&lid=$1&ttitle=$2 [L]
RewriteRule ^ratelink-([0-9]*).html modules.php?op=modload&name=Web_Links&file=index&l_op=ratelink&lid=$1 [L]
RewriteRule ^viewlink-([0-9]*).html viewlink-.html$1 [L]
RewriteRule ^links-([0-9]*)-([a-zA-Z0-9]*).html links.html&file=index&l_op=viewlink&cid=$1&orderby=$2 [L]
RewriteRule ^links-([0-9]*)-([0-9]*)-([a-zA-Z0-9]*)-([0-9]*).html links.html&file=index&l_op=viewlink&cid=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^link-([0-9]*).html links.html&l_op=viewlink&cid=$1 [L]
RewriteRule ^links-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*)-([0-9]*)-orderby-([a-zA-Z]*)-([0-9]*) links.html&l_op=search&query=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^links-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*)-orderby-([a-zA-Z]*).html links.html&l_op=search&query=$1&orderby=$2 [L]
RewriteRule ^links-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html links.html&l_op=search&query=$1 [L]
RewriteRule ^links.html links.html [L]

#Your Account
RewriteRule ^userinfo-([a-zA-Z0-9_-]*).html userinfo-.html$1 [L]
RewriteRule ^account-avatarsave-([a-zA-Z0-9_-]*)-([\.a-zA-Z0-9_-]*).html modules.php?name=Your_Account&op=avatarsave&category=$1&avatar=$2 [L]
RewriteRule ^account-showcookiesredirect.html modules.php?name=Your_Account&op=ShowCookiesRedirect [L]
RewriteRule ^account-deletecookies.html modules.php?name=Your_Account&op=DeleteCookies [L]
RewriteRule ^account-showcookies.html modules.php?name=Your_Account&op=ShowCookies [L]
RewriteRule ^account-bypass-([a-z_]*).html modules.php?name=Your_Account&op=userinfo&bypass=1&username=$1 [L]
RewriteRule ^account-([a-z_]*).html modules.php?name=Your_Account&op=$1 [L]
RewriteRule ^account-gfx-([0-9]*).html index.php?gfx=gfx&random_num=$1 [L]
RewriteRule ^account.html modules.php?name=Your_Account [L]

#Docs
RewriteRule ^about-([0-9]*)-edit-([0-9]*).html modules.php?name=Docs&do=show_doc&id=$1&edit_doc=$2 [L]
RewriteRule ^about-([0-9]*)-cat-([0-9]*).html modules.php?name=Docs&do=show_doc&id=$1&cat=$2 [L]
RewriteRule ^about-([0-9]*).html modules.php?name=Docs&do=show_doc&id=$1 [L]
RewriteRule ^about.html modules.php?name=Docs [L]

# 'Options +FollowSymLinks' is required for use of mod_rewrite.
# Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

# 'Options +Includes' is required for use of Server Side Includes (SSI), such as custom error pages (like 403.shtml).
# Can be commented out if causes errors, see notes above.
Options +Includes

# 'Options -Indexes' is used for controlling directory listings if there is not an index file in a directory (and said directory is readable by the web server).
# A directory index will be automatically generated and this can prove to be a dangerous security issue.
# To disable this feature, use: 'Options -Indexes'
# To enable this feature (not advised), use: 'Options +Indexes'
# Can be commented out if causes errors, see notes above.
Options -Indexes

# -------------------------------------------
# Set search order for index files
# -------------------------------------------
DirectoryIndex index.php index.htm index.html

# -------------------------------------------
# For better performance set FileETag to NONE base on recommendations from
# http://developer.yahoo.net/blog/archives/2007/07/high_performanc_11.html
# -------------------------------------------
FileETag none

# -------------------------------------------
# Only process if mod_expires is installed
# For faster load times cache certain types of files for specific amount of time
# You should adjust these settings based upon your caching requirements
# -------------------------------------------
<IfModule mod_expires.c>
   ExpiresActive On
   # ExpiresDefault A86400
   ExpiresByType image/x-icon "access plus 1 month"
   ExpiresByType text/css "access plus 5 minutes"
   ExpiresByType image/gif "access plus 1 month"
   ExpiresByType image/png "access plus 1 month"
   ExpiresByType image/jpeg "access plus 1 month"
   ExpiresByType text/plain "access plus 15 minutes"
   ExpiresByType application/x-shockwave-flash "access plus 1 month"
   ExpiresByType video/x-flv "access plus 1 month"
   ExpiresByType application/pdf "access plus 1 month"
   # ExpiresByType text/html "access plus 5 minutes"
   ExpiresByType text/javascript "access plus 5 minutes"
   ExpiresByType application/x-javascript "access plus 5 minutes"
</IfModule>

# -------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files .ftaccess>
  deny from all
</Files>

<Files .staccess>
  deny from all
</Files>

# -----------------------------------------------------------------------------------------------------
# Leave this block commented out unless HTTPAuth is NOT available in your NukeSentinel(tm) Admin Panel.
# This code is mainly for use with CGI Authentication when PHP is compiled as CGI and NOT an Apache module.
# -----------------------------------------------------------------------------------------------------
# <Files admin.php>
#    <Limit GET POST PUT>
#       require valid-user
#    </Limit>
#    AuthName "Restricted"
#    AuthType Basic
#   AuthUserFile /path/to/your/.staccess
# </Files>
# -----------------------------------------------------------------------------------------------------

# -------------------------------------------
# If you use TegoNuke(tm) ShortLinks with RavenNuke(tm) then copy your ShortLinks.htaccess file/rules below inbetween
# the <IfModule> and </IfModule> tags.
# Only process if mod_rewrite is installed
# -------------------------------------------
<IfModule mod_rewrite.c>
   # TegoNuke(tm) ShortLinks - ShortLinks.htaccess file/rules should go after this line
</IfModule>

# -------------------------------------------
# Error Document Redirects
# TegoNuke(tm) ShortLinks - ShortLinks.htaccess file MUST be before these directives (See above).
# If you add a new error redirect then you need to add the corresponding xxx.php file to modules/ErrorDocuments/
# Format:
#   ErrorDocument xxx /PATH_TO_ERROR_DOCUMENT_RELATIVE_TO_WEB_SERVER_DOCUMENT_ROOT
# -------------------------------------------

# -------------------------------------------
# To prevent a looping redirect anomaly we use this 3 line routine for 404 Page Not Found errors
# -------------------------------------------
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule (.*) /modules.php?name=ErrorDocuments&file=404&rs=$1 [NC,L,R]

ErrorDocument 400 /modules.php?name=ErrorDocuments
ErrorDocument 401 /modules.php?name=ErrorDocuments
ErrorDocument 403 /modules.php?name=ErrorDocuments
ErrorDocument 406 /modules.php?name=ErrorDocuments
ErrorDocument 500 /modules.php?name=ErrorDocuments

# -------------------------------------------
# Start of NukeSentinel(tm) DENY FROM area
# -------------------------------------------
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1435
Location: North Carolina

PostPosted: Wed Jul 21, 2010 4:34 pm Reply with quote Back to top

The rewrite rules should be between:

Code:
<IfModule mod_rewrite.c>
   # TegoNuke(tm) ShortLinks - ShortLinks.htaccess file/rules should go after this line
</IfModule>


I'm not sure if that will make a difference or not.
View user's profile Send private message Send e-mail Visit poster's website
transit
Regular
Regular


Joined: Jun 01, 2010
Posts: 66

PostPosted: Thu Jul 22, 2010 7:04 am Reply with quote Back to top

Like this?

Code:

#####################################################
#  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#  THESE INSTRUCTIONS APPLY TO ALL Options DIRECTIVES
#
# The lines below this section that begin with Options may cause problems
# with some server configurations.  They are required for certain functions
# of Apache and RavenNuke(tm), but may already be set by your server administrator in a way
# that dissallows changing them in your .htaccess file.  If using any of them causes your server
# to error out, comment them out (add # to beginning of line), reload your site in your browser
# and test the functionality that is affected.  If it works, then it has been set by your server
# administrator and you do not need it set here.
#####################################################



# 'Options +FollowSymLinks' is required for use of mod_rewrite.
# Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

# 'Options +Includes' is required for use of Server Side Includes (SSI), such as custom error pages (like 403.shtml).
# Can be commented out if causes errors, see notes above.
Options +Includes

# 'Options -Indexes' is used for controlling directory listings if there is not an index file in a directory (and said directory is readable by the web server).
# A directory index will be automatically generated and this can prove to be a dangerous security issue.
# To disable this feature, use: 'Options -Indexes'
# To enable this feature (not advised), use: 'Options +Indexes'
# Can be commented out if causes errors, see notes above.
Options -Indexes

# -------------------------------------------
# Set search order for index files
# -------------------------------------------
DirectoryIndex index.php index.htm index.html

# -------------------------------------------
# For better performance set FileETag to NONE base on recommendations from
# http://developer.yahoo.net/blog/archives/2007/07/high_performanc_11.html
# -------------------------------------------
FileETag none

# -------------------------------------------
# Only process if mod_expires is installed
# For faster load times cache certain types of files for specific amount of time
# You should adjust these settings based upon your caching requirements
# -------------------------------------------
<IfModule mod_expires.c>
   ExpiresActive On
   # ExpiresDefault A86400
   ExpiresByType image/x-icon "access plus 1 month"
   ExpiresByType text/css "access plus 5 minutes"
   ExpiresByType image/gif "access plus 1 month"
   ExpiresByType image/png "access plus 1 month"
   ExpiresByType image/jpeg "access plus 1 month"
   ExpiresByType text/plain "access plus 15 minutes"
   ExpiresByType application/x-shockwave-flash "access plus 1 month"
   ExpiresByType video/x-flv "access plus 1 month"
   ExpiresByType application/pdf "access plus 1 month"
   # ExpiresByType text/html "access plus 5 minutes"
   ExpiresByType text/javascript "access plus 5 minutes"
   ExpiresByType application/x-javascript "access plus 5 minutes"
</IfModule>

# -------------------------------------------
# Start of NukeSentinel(tm) admin.php Auth
# -------------------------------------------
<Files .ftaccess>
  deny from all
</Files>

<Files .staccess>
  deny from all
</Files>

# -----------------------------------------------------------------------------------------------------
# Leave this block commented out unless HTTPAuth is NOT available in your NukeSentinel(tm) Admin Panel.
# This code is mainly for use with CGI Authentication when PHP is compiled as CGI and NOT an Apache module.
# -----------------------------------------------------------------------------------------------------
# <Files admin.php>
#    <Limit GET POST PUT>
#       require valid-user
#    </Limit>
#    AuthName "Restricted"
#    AuthType Basic
#   AuthUserFile /path/to/your/.staccess
# </Files>
# -----------------------------------------------------------------------------------------------------

# -------------------------------------------
# If you use TegoNuke(tm) ShortLinks with RavenNuke(tm) then copy your ShortLinks.htaccess file/rules below inbetween
# the <IfModule> and </IfModule> tags.
# Only process if mod_rewrite is installed
# -------------------------------------------
<IfModule mod_rewrite.c>
   # TegoNuke(tm) ShortLinks - ShortLinks.htaccess file/rules should go after this line
#
# TegoNuke(tm) ShortLinks version 1.2.1
#
# This file contains the rewrite rules necessary to force Apache to recognize your
# shortened links and to rewrite them back to what PHP-Nuke is expecting.
# Copy and paste these rules into your .htaccess file in the root of your PHP-Nuke
# Installation.  Whatever you do, make sure these are ABOVE NukeSentinel's area
# where it is to write its blocked IPs.
#
# For better performance, remove sections of rules for modules that you do not have
# active on your site.
#

RewriteEngine on

RewriteRule ^index.html index.php
RewriteRule ^index.htm index.php

#Advertising
RewriteRule ^advertising-(client_report|view_banner)-([0-9]*)-([0-9]*).html modules.php?name=Advertising&op=$1&cid=$2&bid=$3 [L]
RewriteRule ^advertising-(sitestats|terms|plans|client_home|client_logout|client|logout).html modules.php?name=Advertising&op=$1 [L]
RewriteRule ^advertising.html modules.php?name=Advertising [L]

#Articles (News)
RewriteRule ^article-([0-9]*)-([a-z]*)-([0-9]*)-([-0-9]*).html article.html$1&mode=$2&order=$3&thold=$4 [L]
RewriteRule ^article-comments-([0-9]*)-([0-9]*).html modules.php?name=News&file=comments&sid=$1&pid=$2 [L]
RewriteRule ^article-reply-([0-9]*)-([0-9]*).html modules.php?name=News&file=comments&op=Reply&pid=$1&sid=$2 [L]
RewriteRule ^article-showreply-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=News&file=comments&op=showreply&tid=$1&sid=$2&pid=$3 [L]
RewriteRule ^article-([0-9-]*)-([a-z]*)-([0-9]*)-([0-9]*).html([0-9#]*) modules.php?name=News&file=article&thold=$1&mode=$2&order=$3&sid=$4$5 [L]
RewriteRule ^article-topic([0-9]*)-page([0-9]*).html article-topic-.html$1&pagenum=$2 [L]
RewriteRule ^article-category([0-9]*)-page([0-9]*).html modules.php?name=News&file=categories&op=newindex&catid=$1&pagenum=$2 [L]
RewriteRule ^article-category-([0-9]*).html modules.php?name=News&file=categories&op=newindex&catid=$1 [L]
RewriteRule ^article-print-([0-9]*).html modules.php?name=News&file=print&sid=$1 [L]
RewriteRule ^article-friend-([0-9]*).html modules.php?name=News&file=friend&op=FriendSend&sid=$1 [L]
RewriteRule ^article-friend.html modules.php?name=News&file=friend [L]
RewriteRule ^article-page-([0-9]*).html .html$1 [L]
RewriteRule ^article([1-9][0-9]*).* article.html$1 [L]
RewriteRule ^article-topic-([0-9]*).html article-topic-.html$1 [L]
RewriteRule ^article-comments.html modules.php?name=News&file=comments [L]
RewriteRule ^allnews.html modules.php?name=News&file=allindex [L]
RewriteRule ^news.html modules.php?name=News [L]

#AvantGo
RewriteRule ^avantgo-print-([0-9]*).html modules.php?name=AvantGo&file=print&sid=$1 [L]
RewriteRule ^avantgo.html modules.php?name=AvantGo [L]

#Comments
RewriteRule ^article-comment-([0-9]*)-([0-9]*).html modules.php?name=News&file=comments&sid=$1&tid=$2 [L]
RewriteRule ^survey-comment-([0-9]*)-([0-9]*).html modules.php?name=Surveys&file=comments&pollID=$1&tid=$2 [L]
RewriteRule ^comments.html modules.php?name=Comments [L]

#Content Plus
RewriteRule ^content-([0-9]*)-page([0-9]*).html contentid-.html$1&page=$2 [L]
RewriteRule ^content-cat-([0-9]*)-order-([0-9]*).html content-cat-.html$1&order=$2 [L]
RewriteRule ^content-cat-([0-9]*).html content-cat-.html$1 [L]
RewriteRule ^content-([0-9]*).html contentid-.html$1 [L]
RewriteRule ^content-send-page.html modules.php?name=Content&pa=send_page [L]
RewriteRule ^content-preview-page.html modules.php?name=Content&pa=preview_page [L]
RewriteRule ^content-add-page.html modules.php?name=Content&pa=add_page [L]
RewriteRule ^content-browse-tag-([/:\-\'{}()\,\._&a-zA-Z0-9+=\ ]*)-order-([0-9]*).html modules.php?name=Content&pa=browse_tag&tag=$1&order=$2 [L]
RewriteRule ^content-browse-tag-([/:\-\'{}()\,\._&a-zA-Z0-9+=\ ]*).html modules.php?name=Content&pa=browse_tag&tag=$1 [L]
RewriteRule ^content-browse-tags.html modules.php?name=Content&pa=browse_tags [L]
RewriteRule ^content-print-page-([0-9]*).html modules.php?name=Content&pa=print_page&pid=$1 [L]
RewriteRule ^content-print-pdf-([0-9]*).html modules.php?name=Content&pa=print_pdf&pid=$1 [L]
RewriteRule ^content-share-page-([0-9]*).html modules.php?name=Content&pa=share_page&op=FriendSend&pid=$1 [L]
RewriteRule ^content-send-page-([0-9]*).html modules.php?name=Content&pa=share_page&op=SendPage&pid=$1 [L]
RewriteRule ^content.html modules.php?name=Content [L]

#Downloads
RewriteRule ^downloadview-(comments|details|editorial)-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Downloads&d_op=viewdownload$1&lid=$2&ttitle=$3 [L]
RewriteRule ^downloadview-(comments|details|editorial)-([0-9]*).html modules.php?name=Downloads&d_op=viewdownload$1&lid=$2 [L]
RewriteRule ^download-mod-([0-9]*).html modules.php?name=Downloads&d_op=modifydownloadrequest&lid=$1 [L]
RewriteRule ^download-broken-([0-9]*).html modules.php?name=Downloads&d_op=brokendownload&lid=$1 [L]
RewriteRule ^download-shownew-([0-9]*).html modules.php?name=Downloads&d_op=NewDownloads&newdownloadshowdays=$1 [L]
RewriteRule ^download-seldate-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=NewDownloadsDate&selectdate=$1 [L]
RewriteRule ^download-file-([0-9]*).html modules.php?name=Downloads&d_op=getit&lid=$1 [L]
RewriteRule ^ratedownload-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Downloads&d_op=ratedownload&lid=$1&ttitle=$2 [L]
RewriteRule ^ratedownload-([0-9]*).html modules.php?name=Downloads&d_op=ratedownload&lid=$1 [L]
RewriteRule ^download-(TopRated|MostPopular)-([0-9]*)-(num|percent).html modules.php?name=Downloads&d_op=$1&ratenum=$2&ratetype=$3 [L]
RewriteRule ^downloads-(AddDownload|NewDownloads|MostPopular|TopRated).html modules.php?name=Downloads&d_op=$1 [L]
RewriteRule ^download([0-9]*)-orderby([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1&orderby=$2 [L]
RewriteRule ^download([0-9]*)-([0-9]*)-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*)-([0-9]*)-([a-zA-Z0-9+]*)-([0-9]*).html modules.php?name=Downloads&d_op=search&query=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*)-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=search&query=$1&orderby=$2 [L]
RewriteRule ^download-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Downloads&d_op=search&query=$1 [L]
RewriteRule ^download-outside-([0-9]*).html modules.php?name=Downloads&d_op=outsidedownloadsetup&lid=$1 [L]
RewriteRule ^downloads-cat([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1 [L]
RewriteRule ^downloads.html downloads.html [L]

#Encyclopedia
RewriteRule ^encyclopedia-([0-9]*)-page([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Encyclopedia&op=content&tid=$1&page=$2&query=$3 [L]
RewriteRule ^encyclopedia-([0-9]*)-page([0-9]*).html modules.php?name=Encyclopedia&op=content&tid=$1&page=$2 [L]
RewriteRule ^encyclopedia-([0-9]*)-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Encyclopedia&op=content&tid=$1&query=$2 [L]
RewriteRule ^encyclopedia-([0-9]*).html modules.php?name=Encyclopedia&op=content&tid=$1 [L]
RewriteRule ^encyclopedia-list-([0-9]*).html modules.php?name=Encyclopedia&op=list_content&eid=$1 [L]
RewriteRule ^encyclopedia-terms([0-9]*)-([A-Z]*).html modules.php?name=Encyclopedia&op=terms&eid=$1&ltr=$2 [L]
RewriteRule ^encyclopedia-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html modules.php?name=Encyclopedia&file=search&query=$1 [L]
RewriteRule ^encyclopedia-search.html modules.php?name=Encyclopedia&file=search [L]
RewriteRule ^encyclopedia.html modules.php?name=Encyclopedia [L]

#Feedback
RewriteRule ^feedback.html contact.html [L]

#Feeds - nukeFEED
RewriteRule ^feeds-([0-9]*).html modules.php?name=Feeds&fid=$1&type=HTML [L]
RewriteRule ^feeds-([0-9]*)-rss([0-9]*).xml modules.php?name=Feeds&fid=$1&type=RSS$2 [L]
RewriteRule ^feeds-([0-9]*)-atom([0-9]*).xml modules.php?name=Feeds&fid=$1&type=ATOM$2 [L]
RewriteRule ^feeds-map-opml.xml modules.php?name=Feeds&op=map&type=OPML [L]
RewriteRule ^feeds.html modules.php?name=Feeds [L]

#FAQ
RewriteRule ^faq.html faq.html [L]
RewriteRule ^faq-([0-9]*)-([a-zA-Z0-9\+\&\-\/%[:punct:]\.\;\ ]*).html faq.html&myfaq=yes&id_cat=$1&categories=$2 [L]

#Forums
RewriteRule ^ftopic-([0-9]*)-([0-9]*)-days([0-9]*)-order(desc|asc)-([A-Za-z0-9+_-]*).html forums.html&file=viewtopic&t=$1&start=$2&postdays=$3&postorder=$4&highlight=$5 [L]
RewriteRule ^ftopic-([0-9]*)-days([0-9]*)-order(desc|asc)-([A-Za-z0-9+_-]*)-([0-9]*).html forums.html&file=viewtopic&t=$1&postdays=$2&postorder=$3&highlight=$4&start=$5 [L]
RewriteRule ^ftopic-([0-9]*)-days([0-9]*)-order(desc|asc)-([0-9]*).html forums.html&file=viewtopic&t=$1&postdays=$2&postorder=$3&start=$4 [L]
RewriteRule ^ftopic-voteresults-([0-9]*)-days([0-9]*)-order(desc|asc).html forums.html&file=viewtopic&t=$1&postdays=$2&postorder=$3&vote=viewresult [L]
RewriteRule ^ftopic-([0-9]*)-([0-9]*).html forums.html&file=viewtopic&t=$1&start=$2 [L]
RewriteRule ^ftopic-([0-9]*)-(previous|next|newest).html forums.html&file=viewtopic&t=$1&view=$2 [L]
RewriteRule ^ftopic(t|p)-([0-9]*)-([A-Za-z0-9+_-]*).html forums.html&file=viewtopic&$1=$2&highlight=$3 [L]
RewriteRule ^ftopic-([0-9]*)-(watch|unwatch)-([0-9]*).html forums.html&file=viewtopic&t=$1&$2=topic&start=$3 [L]
RewriteRule ^ftopic(t|p)-([0-9]*).html forums.html&file=viewtopic&$1=$2 [L]
RewriteRule ^ftopic(t|p)-([0-9]*).html#([0-9]*) forums.html&file=viewtopic&$1=$2#$3 [L]
RewriteRule ^forum-editprofile.html forums.html&file=profile&mode=editprofile [L]
RewriteRule ^forum-userprofile-([0-9]*).html profile-.html$1 [L]
RewriteRule ^forum-register-new.html forums.html&file=profile&mode=register&agreed=true [L]
RewriteRule ^forum-register-coppa.html forums.html&file=profile&mode=register&agreed=true&coppa=true [L]
RewriteRule ^forum-register.html forums.html&file=profile&mode=register [L]
RewriteRule ^forums-posting.html forums.html&file=modules&name=Forums&file=posting [L]
RewriteRule ^forum-faq-bbcode.html forums.html&file=faq&mode=bbcode [L]
RewriteRule ^ftopic-post-([0-9]*).html forums.html&file=posting&t=$1 [L]
RewriteRule ^ftopic-quote-([0-9]*).html forums.html&file=posting&mode=quote&p=$1 [L]
RewriteRule ^ftopic-vote-([0-9]*).html forums.html&file=posting&mode=vote&t=$1 [L]
RewriteRule ^ftopic-new-([0-9]*).html forums.html&file=posting&mode=newtopic&f=$1 [L]
RewriteRule ^ftopic-edit-([0-9]*).html forums.html&file=posting&mode=editpost&p=$1 [L]
RewriteRule ^ftopic-reply-([0-9]*).html forums.html&file=posting&mode=reply&t=$1 [L]
RewriteRule ^ftopic-delete-([0-9]*).html forums.html&file=posting&mode=delete&p=$1 [L]
RewriteRule ^ftopic-smilies.html forums.html&file=posting&mode=smilies&popup=1 [L]
RewriteRule ^ftopic-topicreview-([0-9]*).html forums.html&file=posting&mode=topicreview&t=$1&popup=1 [L]
RewriteRule ^forum-posting.html forums.html&file=posting [L]
RewriteRule ^forums-group([0-9]*)-([0-9]*).html forums.html&file=groupcp&g=$1&start=$2 [L]
RewriteRule ^forums-group([0-9]*).html forums.html&file=groupcp&g=$1 [L]
RewriteRule ^fsearch-author-([a-zA-Z0-9_-]*).html search-.html$1 [L]
RewriteRule ^fsearch-([0-9]*)-([0-9]*).html forums.html&file=search&search_id=$1&start=$2 [L]
RewriteRule ^fsearch-(unanswered|egosearch|newposts).html forums.html&file=search&search_id=$1 [L]
RewriteRule ^fsearch-results.html forums.html&file=search&mode=results [L]
RewriteRule ^forums-([^index][a-zA-Z0-9_-]*).html forums.html&file=$1 [L]
RewriteRule ^forum-c([0-9]*).html forums.html&file=index&c=$1 [L]
RewriteRule ^forum-mark.html forums.html&file=index&mark=forums [L]
RewriteRule ^forums.html forums.html&file=index [L]
RewriteRule ^forum-viewonline.html forums.html&file=viewonline [L]
RewriteRule ^forum-([0-9]*)-days([0-9]*)-([0-9]*).html forums.html&file=viewforum&f=$1&topicdays=$2&start=$3 [L]
RewriteRule ^forum-([0-9]*)-([0-9]*).html forums.html&file=viewforum&f=$1&start=$2 [L]
RewriteRule ^forum-([0-9]*)-mark.html forums.html&file=viewforum&f=$1&mark=topics [L]
RewriteRule ^forum-([0-9]*).html forums.html&file=viewforum&f=$1 [L]
RewriteRule ^forums.html forums.html [L]

#GCalendar
RewriteRule ^eventscalendar-(viewday|viewweek)-([0-9]*)-([0-9]*)-([0-9]*)-event([0-9]*)-print.html modules.php?name=GCalendar&file=$1&y=$2&m=$3&d=$4&e=$5&printable=1 [L]
RewriteRule ^eventscalendar-(submit|viewday|viewweek|friend)-([0-9]*)-([0-9]*)-([0-9]*)-event([0-9]*).html modules.php?name=GCalendar&file=$1&y=$2&m=$3&d=$4&e=$5 [L]
RewriteRule ^eventscalendar-(viewday|viewweek)-([0-9]*)-([0-9]*)-([0-9]*)-print.html modules.php?name=GCalendar&file=$1&y=$2&m=$3&d=$4&printable=1 [L]
RewriteRule ^eventscalendar-(submit|viewday|viewweek)-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=GCalendar&file=$1&y=$2&m=$3&d=$4 [L]
RewriteRule ^eventscalendar-edit-([0-9]*)-([0-9]*)-([0-9]*)-event([0-9]*).html modules.php?name=GCalendar&file=edit&y=$1&m=$2&d=$3&eventId=$4 [L]
RewriteRule ^eventscalendar-edit-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=GCalendar&file=edit&y=$1&m=$2&d=$3 [L]
RewriteRule ^eventscalendar-submit-([0-9]*)-([0-9]*).html modules.php?name=GCalendar&file=submit&y=$1&m=$2 [L]
RewriteRule ^eventscalendar-([0-9]*)-([0-9]*)-print.html modules.php?name=GCalendar&y=$1&m=$2&printable=1 [L]
RewriteRule ^eventscalendar-([0-9]*)-([0-9]*).html modules.php?name=GCalendar&y=$1&m=$2 [L]
RewriteRule ^eventscalendar-submit.html modules.php?name=GCalendar&file=submit&op=submit [L]
RewriteRule ^eventscalendar-(viewweek|rsvp|friend).html modules.php?name=GCalendar&file=$1 [L]
RewriteRule ^eventscalendar.html modules.php?name=GCalendar [L]

#NSN Groups
RewriteRule ^groups-([0-9]*).html modules.php?name=Groups&op=GRInfo&gid=$1 [L]
RewriteRule ^groups.html modules.php?name=Groups [L]

#HTML Newsletter
RewriteRule ^html_newsletter-([0-9]*).html modules.php?name=HTML_Newsletter&file=index&op=msnl_nls_view&msnl_nid=$1 [L]
RewriteRule ^html_newsletter-copyright.html modules.php?name=HTML_Newsletter&op=msnl_copyright_credits [L]
RewriteRule ^html_newsletter.html modules.php?name=HTML_Newsletter [L]

#Journal
RewriteRule ^journal(search|delete|commentkill)-(bywhat|jid|onwhat)([a-zA-Z0-9]*)-(forwhat|ref)([a-zA-Z0-9_-]*).html journal.html&file=$1&$2=$3&$4=$5 [L]
RewriteRule ^journal-search-([0-9]*)-([a-zA-Z0-9_-]*).html journal.html&file=search&bywhat=$1&forwhat=$2 [L]
RewriteRule ^journal-([a-zA-Z0-9+]*)-(jid|onwhat|disp|op)-([a-zA-Z0-9+]*).html journal.html&file=$1&$2=$3 [L]
RewriteRule ^journal-search-([a-zA-Z0-9_-]*).html journal.html&file=search&bywhat=aid&exact=1&forwhat=$1 [L]
RewriteRule ^journal-edit.html journal.html&file=edit [L]
RewriteRule ^journal(file|op)-([a-zA-Z0-9]*).html journal.html&$1=$2 [L]
RewriteRule ^journal.html journal.html [L]

#Legal
RewriteRule ^legal-([a-zA-Z0-9_-]*).html modules.php?name=Legal&op=$1 [L]
RewriteRule ^legal.html modules.php?name=Legal [L]

#Members List
RewriteRule ^members-([a-z]*)-sortasc-([0-9]*).html modules.php?name=Members_List&file=index&mode=$1&order=ASC&start=$2 [L]
RewriteRule ^members-([a-z]*)-sortdesc-([0-9]*).html modules.php?name=Members_List&file=index&mode=$1&order=DESC&start=$2 [L]
RewriteRule ^members.html modules.php?name=Members_List [L]

#MetAuthors - only additional rewrite rules not already present will go here
RewriteRule ^metauthors.html modules.php?name=rwsMetAuthors [L]

#Project Tracking
RewriteRule ^project-([0-9]*).html modules.php?name=Project_Tracking&op=PJProject&project_id=$1 [L]
RewriteRule ^project-task-([0-9]*).html modules.php?name=Project_Tracking&op=PJTask&task_id=$1 [L]
RewriteRule ^project-([0-9]*)-submit-report.html modules.php?name=Project_Tracking&op=PJReportSubmit&project_id=$1 [L]
RewriteRule ^project-([0-9]*)-submit-request.html modules.php?name=Project_Tracking&op=PJRequestSubmit&project_id=$1 [L]
RewriteRule ^project-report-([0-9]*).html modules.php?name=Project_Tracking&op=PJReport&report_id=$1 [L]
RewriteRule ^project-request-([0-9]*).html modules.php?name=Project_Tracking&op=PJRequest&request_id=$1 [L]
RewriteRule ^project-report-comment-([0-9]*).html modules.php?name=Project_Tracking&op=PJReportCommentSubmit&report_id=$1 [L]
RewriteRule ^project-request-comment-([0-9]*).html modules.php?name=Project_Tracking&op=PJRequestCommentSubmit&request_id=$1 [L]
RewriteRule ^project-task-map.html modules.php?name=Project_Tracking&op=PJTaskMap [L]
RewriteRule ^project-report-map.html modules.php?name=Project_Tracking&op=PJReportMap [L]
RewriteRule ^project-request-map.html modules.php?name=Project_Tracking&op=PJRequestMap [L]
RewriteRule ^project.html modules.php?name=Project_Tracking [L]

#NukeSentinel
RewriteRule ^nukesentinel.html modules.php?name=NukeSentinel [L]

#Private Messages
RewriteRule ^messages-read-(savebox|inbox|outbox|sentbox)-([0-9]*).html modules.php?name=Private_Messages&file=index&folder=$1&mode=read&p=$2 [L]
RewriteRule ^messages-start-(savebox|inbox|outbox|sentbox)-([0-9]*).html modules.php?name=Private_Messages&file=index&folder=$1&start=$2 [L]
RewriteRule ^messages-(reply|quote|edit)-([0-9]*).html modules.php?name=Private_Messages&file=index&mode=$1&p=$2 [L]
RewriteRule ^messages-post-([0-9]*).html messages-.html$1 [L]
RewriteRule ^messages-new.html modules.php?name=Private_Messages&file=index&mode=post [L]
RewriteRule ^messages-(sentbox|inbox|savebox|outbox).html modules.php?name=Private_Messages&file=index&folder=$1 [L]
RewriteRule ^messages-popup.html modules.php?name=Private_Messages&file=index&mode=newpm&popup=1 [L]
RewriteRule ^messages.html modules.php?name=Private_Messages [L]

#Recommend Us
RewriteRule ^recommend.html recommend.html [L]

#Reviews
RewriteRule ^reviews-new.html reviews.html&rop=write_review [L]
RewriteRule ^reviews-preview.html reviews.html&rop=preview_review [L]
RewriteRule ^reviews-([0-9]*)-page([0-9]*).html reviews.html&rop=showcontent&id=$1&page=$2 [L]
RewriteRule ^reviews-([0-9]*).html reviews.html&rop=showcontent&id=$1 [L]
RewriteRule ^reviews-comment-([0-9]*)-([[:punct:]?/:\-\'{}()._&a-zA-Z0-9+=\%\ ]*).html reviews.html&rop=postcomment&id=$1&title=$2 [L]
RewriteRule ^reviews-comment-([0-9]*).html reviews.html&rop=postcomment&id=$1 [L]
RewriteRule ^reviews-([0-9]*)-delete.html reviews.html&rop=del_review&id_del=$1 [L]
RewriteRule ^reviews-([0-9]*)-edit.html reviews.html&rop=mod_review&id=$1 [L]
RewriteRule ^reviews-([0-9]*)-delcomment-([0-9]*).html reviews.html&rop=del_comment&cid=$1&id=$2 [L]
RewriteRule ^reviews-([a-zA-Z0-9]*)-orderby-([a-z]*)-([a-zA-Z]*).html reviews.html&rop=$1&field=$2&order=$3 [L]
RewriteRule ^reviews-sortby-([a-zA-Z0-9]*).html reviews.html&rop=$1 [L]
RewriteRule ^reviews.html reviews.html [L]

#Search
RewriteRule ^search-([a-zA-Z0-9]*)-([0-9]*)-([0-9]*)-([/:\-\'{}()\,\._&a-zA-Z0-9+=\ ]*)-([a-zA-Z]*)-([0-9]*).html modules.php?name=Search&author=$1&topic=$2&min=$3&query=$4&type=$5&category=$6 [L]
RewriteRule ^search-([a-zA-Z0-9]*)-([0-9]*)-([0-9]*)-([/:\-\'{}()\,\._&a-zA-Z0-9+=\ ]*)-([a-zA-Z]*).html modules.php?name=Search&author=$1&topic=$2&min=$3&query=$4&type=$5 [L]
RewriteRule ^search-author-([a-zA-Z0-9]*).html modules.php?name=Search&author=$1 [L]
RewriteRule ^search-([/:\-\'{}()\,\._&a-zA-Z0-9+=\ ]*)-([a-zA-Z0-9_-]*).html modules.php?name=Search&query=$1&author=$2 [L]
RewriteRule ^search-([0-9]*).html modules.php?name=Search&query=&topic=$1 [L]
RewriteRule ^search-comments-([0-9]*).html modules.php?name=Search&type=comments&sid=$1 [L]
RewriteRule ^search-users.html modules.php?name=Search&type=users [L]
RewriteRule ^search.html* modules.php?name=Search [L]

#Statistics
RewriteRule ^stats-([0-9]*)-([0-9]*)-([0-9]*).html stats.html&op=DailyStats&year=$1&month=$2&date=$3 [L]
RewriteRule ^stats-([0-9]*)-([0-9]*).html stats.html&op=MonthlyStats&year=$1&month=$2 [L]
RewriteRule ^stats-([0-9]*).html stats-.html$1 [L]
RewriteRule ^advstats.html advstats.html [L]
RewriteRule ^stats.html stats.html [L]

#Stories Archive
RewriteRule ^archive-showall-([0-9]*).html archive.html&sa=show_all&min=$1 [L]
RewriteRule ^archive-showall.html archive.html&sa=show_all [L]
RewriteRule ^archive-([0-9]*)-([0-9]*)-([a-zA-Z]*).* archive.html&sa=show_month&year=$1&month=$2&month_l=$3 [L]
RewriteRule ^archive.html archive.html [L]

#Surveys
RewriteRule ^survey-results-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&op=results&pollID=$1&mode=$2&order=$3&thold=$4 [L]
RewriteRule ^survey-results-([0-9]*).html modules.php?name=Surveys&op=results&pollID=$1 [L]
RewriteRule ^survey-([0-9]*).html modules.php?name=Surveys&pollID=$1 [L]
RewriteRule ^survey-comments-([0-9]*)-([0-9]*).html modules.php?name=Surveys&file=comments&pollID=$1&pid=$2 [L]
RewriteRule ^survey-comment-([0-9]*)-([0-9]*).html modules.php?name=Surveys&file=comments&pollID=$1&tid=$2 [L]
RewriteRule ^survey-comment-([0-9]*)-(tid|pid)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&pollID=$1&$2=$3&mode=$4&order=$5&thold=$6 [L]
RewriteRule ^survey-commreply-([0-9]*)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=Reply&pid=$1&pollID=$2&mode=$3&order=$4&thold=$5 [L]
RewriteRule ^survey-commreply-([0-9]*)-([0-9]*).html modules.php?name=Surveys&file=comments&op=Reply&pid=$1&pollID=$2 [L]
RewriteRule ^survey-showreply-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=Surveys&file=comments&op=showreply&tid=$1&pollID=$2&pid=$3 [L]
RewriteRule ^survey-showreply-([0-9]*)-([0-9]*)-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=showreply&tid=$1&pollID=$2&pid=$3&mode=$4&order=$5&thold=$6 [L]
RewriteRule ^survey-showreply-([0-9]*).html modules.php?name=Surveys&file=comments&op=showreply&tid=$1 [L]
RewriteRule ^survey-showreply-([0-9]*)-([a-z]*)-([0-9]*)-([0-9\-]*).html modules.php?name=Surveys&file=comments&op=showreply&tid=$1&mode=$2&order=$3&thold=$4 [L]
RewriteRule ^survey-comments.html modules.php?name=Surveys&file=comments [L]
RewriteRule ^surveys.html modules.php?name=Surveys [L]

#Submit_News
RewriteRule ^submit.html submit.html [L]

#Topics
RewriteRule ^topics.html topics.html [L]

#Top10
RewriteRule ^top-([[:print:]]*).html top.html&zx=$1 [L]
RewriteRule ^top.html top.html [L]

#WebLinks
RewriteRule ^viewlinkcomments-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html links.html&l_op=viewlinkcomments&lid=$1&ttitle=$2 [L]
RewriteRule ^viewlinkcomments-([0-9]+).html links.html&l_op=viewlinkcomments&lid=$1 [L]
RewriteRule ^viewlinkdetails-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html links.html&l_op=viewlinkdetails&lid=$1&ttitle=$2 [L]
RewriteRule ^viewlinkdetails-([0-9]+).html links.html&l_op=viewlinkdetails&lid=$1 [L]
RewriteRule ^vieweditorial-([0-9]+)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html links.html&l_op=viewlinkeditorial&lid=$1&ttitle=$2 [L]
RewriteRule ^vieweditorial-([0-9]+).html links.html&l_op=viewlinkeditorial&lid=$1 [L]
RewriteRule ^modifylink-([0-9]+).html links.html&l_op=modifylinkrequest&lid=$1 [L]
RewriteRule ^brokenlink-([0-9]+).html links.html&l_op=brokenlink&lid=$1 [L]
RewriteRule ^outsidelink-([0-9]+).html links.html&l_op=outsidelinksetup&lid=$1 [L]
RewriteRule ^linkop-(MostPopular|mostpopular)-([0-9]+)-(num|percent).html linkop-MostPopular.html&ratenum=$2&ratetype=$3 [L]
RewriteRule ^linkop-(TopRated|toprated)-([0-9]+)-(num|percent).html linkop-TopRated.html&ratenum=$2&ratetype=$3 [L]
RewriteRule ^newlinks-([0-9]+).html modules.php\?name=Web_Links&l_op=NewLinks&newlinkshowdays=$1 [L]
RewriteRule ^linksnew-([0-9]+).html modules.php?op=modload&name=Web_Links&file=index&l_op=NewLinksDate&selectdate=$1 [L]
RewriteRule ^linkop-(AddLink|addlink).html modules.php?op=modload&name=Web_Links&file=index&l_op=AddLink [L]
RewriteRule ^linkop-(MostPopular|mostpopular).html modules.php?op=modload&name=Web_Links&file=index&l_op=MostPopular [L]
RewriteRule ^linkop-(NewLinks|newlinks).html modules.php?op=modload&name=Web_Links&file=index&l_op=NewLinks [L]
RewriteRule ^linkop-(RandomLink|randomlink).html modules.php?op=modload&name=Web_Links&file=index&l_op=RandomLink [L]
RewriteRule ^linkop-(TopRated|toprated).html modules.php?op=modload&name=Web_Links&file=index&l_op=TopRated [L]
RewriteRule ^ratelink-([0-9]*)-([[:punct:]/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?op=modload&name=Web_Links&file=index&l_op=ratelink&lid=$1&ttitle=$2 [L]
RewriteRule ^ratelink-([0-9]*).html modules.php?op=modload&name=Web_Links&file=index&l_op=ratelink&lid=$1 [L]
RewriteRule ^viewlink-([0-9]*).html viewlink-.html$1 [L]
RewriteRule ^links-([0-9]*)-([a-zA-Z0-9]*).html links.html&file=index&l_op=viewlink&cid=$1&orderby=$2 [L]
RewriteRule ^links-([0-9]*)-([0-9]*)-([a-zA-Z0-9]*)-([0-9]*).html links.html&file=index&l_op=viewlink&cid=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^link-([0-9]*).html links.html&l_op=viewlink&cid=$1 [L]
RewriteRule ^links-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*)-([0-9]*)-orderby-([a-zA-Z]*)-([0-9]*) links.html&l_op=search&query=$1&min=$2&orderby=$3&show=$4 [L]
RewriteRule ^links-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*)-orderby-([a-zA-Z]*).html links.html&l_op=search&query=$1&orderby=$2 [L]
RewriteRule ^links-search-([[:punct:]/:\-\'{}()._&a-zA-Z0-9+=\ ]*).html links.html&l_op=search&query=$1 [L]
RewriteRule ^links.html links.html [L]

#Your Account
RewriteRule ^userinfo-([a-zA-Z0-9_-]*).html userinfo-.html$1 [L]
RewriteRule ^account-avatarsave-([a-zA-Z0-9_-]*)-([\.a-zA-Z0-9_-]*).html modules.php?name=Your_Account&op=avatarsave&category=$1&avatar=$2 [L]
RewriteRule ^account-showcookiesredirect.html modules.php?name=Your_Account&op=ShowCookiesRedirect [L]
RewriteRule ^account-deletecookies.html modules.php?name=Your_Account&op=DeleteCookies [L]
RewriteRule ^account-showcookies.html modules.php?name=Your_Account&op=ShowCookies [L]
RewriteRule ^account-bypass-([a-z_]*).html modules.php?name=Your_Account&op=userinfo&bypass=1&username=$1 [L]
RewriteRule ^account-([a-z_]*).html modules.php?name=Your_Account&op=$1 [L]
RewriteRule ^account-gfx-([0-9]*).html index.php?gfx=gfx&random_num=$1 [L]
RewriteRule ^account.html modules.php?name=Your_Account [L]

#Docs
RewriteRule ^about-([0-9]*)-edit-([0-9]*).html modules.php?name=Docs&do=show_doc&id=$1&edit_doc=$2 [L]
RewriteRule ^about-([0-9]*)-cat-([0-9]*).html modules.php?name=Docs&do=show_doc&id=$1&cat=$2 [L]
RewriteRule ^about-([0-9]*).html modules.php?name=Docs&do=show_doc&id=$1 [L]
RewriteRule ^about.html modules.php?name=Docs [L]
</IfModule>

# -------------------------------------------
# Error Document Redirects
# TegoNuke(tm) ShortLinks - ShortLinks.htaccess file MUST be before these directives (See above).
# If you add a new error redirect then you need to add the corresponding xxx.php file to modules/ErrorDocuments/
# Format:
#   ErrorDocument xxx /PATH_TO_ERROR_DOCUMENT_RELATIVE_TO_WEB_SERVER_DOCUMENT_ROOT
# -------------------------------------------

# -------------------------------------------
# To prevent a looping redirect anomaly we use this 3 line routine for 404 Page Not Found errors
# -------------------------------------------
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule (.*) /modules.php?name=ErrorDocuments&file=404&rs=$1 [NC,L,R]

ErrorDocument 400 /modules.php?name=ErrorDocuments
ErrorDocument 401 /modules.php?name=ErrorDocuments
ErrorDocument 403 /modules.php?name=ErrorDocuments
ErrorDocument 406 /modules.php?name=ErrorDocuments
ErrorDocument 500 /modules.php?name=ErrorDocuments

# -------------------------------------------
# Start of NukeSentinel(tm) DENY FROM area
# -------------------------------------------


No success, however I did notice if you type in the direct link they work fine:
Only registered users can see links on this board!
Get registered or login to the forums!
Only registered users can see links on this board!
Get registered or login to the forums!
Only registered users can see links on this board!
Get registered or login to the forums!


I copied this site from my other (trott transit)
Only registered users can see links on this board!
Get registered or login to the forums!

Which works perfectly fine. Is it possible that this different host doesnt support the mod rewrite function? Is there a way to do a test?
View user's profile Send private message
transit
Regular
Regular


Joined: Jun 01, 2010
Posts: 66

PostPosted: Thu Jul 22, 2010 7:47 am Reply with quote Back to top

Update:

I was following this thread
Only registered users can see links on this board!
Get registered or login to the forums!
to test my mod_rewrite to check to see it it was enabled but it did not work. Then I called my hosting company (1and1) and he told me to add this line to the top of my .htaccess file since they are currently running php 4.4.9

AddType x-mapp-php5 .php .php4

It didn't do anything unless I did something wrong. Thoughts?
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1251
Location: Texas, USA

PostPosted: Sat Jul 24, 2010 2:25 pm Reply with quote Back to top

any progress with this? mod_rewrite has to be enabled for shortlinks to work Wink
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2403
Location: Pennsylvania

PostPosted: Sat Jul 24, 2010 5:07 pm Reply with quote Back to top

transit wrote:
Update:

I was following this thread
Only registered users can see links on this board!
Get registered or login to the forums!
to test my mod_rewrite to check to see it it was enabled but it did not work. Then I called my hosting company (1and1) and he told me to add this line to the top of my .htaccess file since they are currently running php 4.4.9

AddType x-mapp-php5 .php .php4

It didn't do anything unless I did something wrong. Thoughts?


Adding that line will not enable mod_rewrite. You need to contact your host again.
View user's profile Send private message Visit poster's website
transit
Regular
Regular


Joined: Jun 01, 2010
Posts: 66

PostPosted: Sun Jul 25, 2010 10:51 am Reply with quote Back to top

Im pretty sure they don't offer any support for shared hosting unfortunately I guess SEO links won't be useful to me Sad
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2403
Location: Pennsylvania

PostPosted: Sun Jul 25, 2010 12:23 pm Reply with quote Back to top

They apparently support it.
Only registered users can see links on this board!
Get registered or login to the forums!


Not sure what the problem is. Maybe Raven will have an idea.
View user's profile Send private message Visit poster's website
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1251
Location: Texas, USA

PostPosted: Sun Jul 25, 2010 12:59 pm Reply with quote Back to top

not sure if it will make any difference but find
RewriteEngine on
on a new line after, add
RewriteBase /
View user's profile Send private message
transit
Regular
Regular


Joined: Jun 01, 2010
Posts: 66

PostPosted: Fri Jul 30, 2010 3:08 pm Reply with quote Back to top

No beans I guess the mod_rewrite function is definately turned off. A downside of these large hosts who make up alot of rules for shared hosting.
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team


Joined: Dec 02, 2006
Posts: 1251
Location: Texas, USA

PostPosted: Fri Jul 30, 2010 4:23 pm Reply with quote Back to top

from the link palbin posted, as well as some other threads floating around on the internet, it looks as though 1and1 does support mod_rewrite... Do you still have this line @ the top of your htaccess ?
AddType x-mapp-php5 .php .php4

That type of change may take awhile to propagate on some hosts (hours). Enabling php5 won't enable mod_rewrite, but it's possible mod_rewrite is only available in their php5 setup.

If you just added and removed when it didn't work, try adding it again and leaving it there.. Then also try the
RewriteEngine on
RewriteBase /
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest Đ 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is Đ copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum