Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
derek765
Regular
Regular



Joined: Sep 27, 2012
Posts: 99
Location: Okinawa, Japan

PostPosted: Mon Dec 17, 2012 8:03 pm Reply with quote

Hello,

Just reporting a couple issues I have found with RavenNuke, nothing major, but defiantly is something minor that should be delt with to just improve RavenNuke all around.

First Issue:
Able to do a direct download of all .tpl abuse pages in /abuse/ directory of any website running RavenNuke, I know there is a .htaccess allowing from all in that directory but there could do something about that to not allow downloading of server files from certain directories and all .ttf files in /includes/fonts/ directory, easily fixed by denying or directing via .htaccess, but not included in package file.

Example:
Code:
http://www.WEBSITE.com/abuse/abuse_admin.tpl


Code:
http://www.WEBSITE.com/includes/fonts/arial.ttf


---------------------------

Second Issue:
Able to deface SOME websites which hasn't denied or redirected the issue in .htaccess file.
By simply adding [ Only registered users can see links on this board! Get registered or login! ]

Example:
Code:
http://www.WEBSITE.com/db/


Last edited by derek765 on Tue Dec 18, 2012 7:36 am; edited 1 time in total 
View user's profile Send private message Visit poster's website
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Mon Dec 17, 2012 10:14 pm Reply with quote

Not following you on number 2. I mean I think I get it, but don't see the issue.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
derek765







PostPosted: Tue Dec 18, 2012 7:31 am Reply with quote

Well I've tested it on a couple sites running RavenNuke, including mine, and some directories which you try to go directly too will distort the whole web page, which I think there could be a better way to go about that.
 
nuken
RavenNuke(tm) Development Team



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

PostPosted: Tue Dec 18, 2012 8:51 am Reply with quote

Are you sure it is not error docs causing the distortion?

_________________
Tricked Out News 
View user's profile Send private message Send e-mail Visit poster's website
derek765







PostPosted: Tue Dec 18, 2012 9:21 am Reply with quote

Well in some cases I've tried making my site error out and I get the correct error doc page which appears in the middle block and my web page still keeps its block format.

and in some cases when I try going to a direct folder directory, the whole page is distorted but the error doc is there.

It is pretty weird actually.
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Wed Dec 19, 2012 5:20 pm Reply with quote

I think this is a side effect of using the ErrorDocs module and possibly incorrectly placed htaccss directives module because of the way it redirects.
What happens is, in some circumstances, it allows fake URL strings to displayed as real pages but the path to CSS file is then incorrect as well, so this leads to trying to render pages which do not exist and also without any styling.

Try moving your htaccess directives for ErrorDocument higher up and certainly before any mod-rewrite rules.
To confirm, simply change your ErrorDocs directives to something like;
Code:


ErrorDocument 401 /errors/index.php?id=401
ErrorDocument 403 /errors/index.php?id=403
ErrorDocument 404 /errors/index.php?id=404
ErrorDocument 406 /errors/index.php?id=406
ErrorDocument 500 /errors/index.php?id=500

Obviously you'll need to create that file to handle the error conditions, which might look something like
Code:


ob_start();
// path to the error files directory (easier to keep everything together) :)
define('PATH', '/errors');

$errors = array(
    '000' => array('Sorry, something went badly wrong - we are not too sure what happened but we would appreciate you reporting this to us!'),
    '401' => array('Sorry you are not authorised to view this page', 'HTTP/1.0 401 Forbidden'),
    '403' => array('Sorry, you are forbidden from accessing this page', 'HTTP/1.0 403 Forbidden'),
    '404' => array('Uh oh, we can\'t seem to find that page!', 'HTTP/1.0 404 Not Found'),
    '406' => array('Sorry your browser does not support the data being sent to it, please try refreshing the page.', 'HTTP/1.0 406 Unsupported data type'),
    '408' => array('Sorry, the request timed out', 'HTTP/1.0 408 Request timed out.'),
    '414' => array('The url you are trying to reach is too long.', 'HTTP/1.0 414 URI too long'),
    '500' => array('Looks like something\'s gone wrong! Please refresh the page - if the problem persists please report the error', 'HTTP/1.0 500 Internal Server Error'),
    '503' => array('The server is under very high load, please come back later.', 'HTTP/1.1 Server response error'),
    // custom errors i.e. redirecting from failed log-in scripts etc
    '881' => array('Sorry, the username and password supplied was not valid!'),
);

$code = (!isset($errors[$_GET['id']])) ? '000' : $_GET['id'];

if (isset($errors[$code][1])) {
    header($errors[$code][1]);
}
?><!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>Error Page Handler</title>
        <meta name="description" content="Error Page">
        <meta name="author" content="Guardian">   
    </head>

    <body>
        <div id="wrapper">
            <div class="content">
                <!-- *** ERROR INFO *** -->
                <h1><span>Error <?php echo $code ?></span></h1>
                <h2><?php echo $errors[$code][0] ?></h2>
            </div>
            <footer>
                <div class="copyright">
                    <p>&copy; 2009 onwards Code Authors</p>
                </div>
            </footer>

    </body>
</html>
<?php
ob_end_flush();
 
View user's profile Send private message Send e-mail
derek765







PostPosted: Wed Dec 19, 2012 6:40 pm Reply with quote

Well, I like how the ErrorDocs is handled with a module in RavenNuke, and would like to keep it that way.

Allows users to see the error problem and still see site features.
I tried moving the ErrorsDoc up above all the other Rewrites, but had no change, this is currently my whole .htaccess setup.

Could be cleaned up a little, for how each is read by server?


Code:


Options +FollowSymLinks

Options +Includes

Options -Indexes

DirectoryIndex index.php index.htm index.html

FileETag none

<IfModule mod_expires.c>
   ExpiresActive On
   ExpiresDefault A604800
   ExpiresByType image/x-icon "access plus 1 month"
   ExpiresByType text/css "access plus 1 week"
   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 1 week"
   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 1 week"
   ExpiresByType text/javascript "access plus 1 week"
   ExpiresByType application/x-javascript "access plus 1 week"
</IfModule>

<IfModule mod_deflate.c>
    #The following line also enables compression by file content type, for the following list of Content-Type:s
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript
</IfModule>

<IfModule mod_headers.c>
  <FilesMatch "\.(js|css|xml|gz)$">
    Header append Vary: Accept-Encoding
  </FilesMatch>
</IfModule>

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

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

<Files admin.php>
  <Limit GET POST PUT>
    require valid-user
  </Limit>
  AuthName "Restricted by Underground King"
  AuthType Basic
  AuthUserFile /home/DATABASE/public_html/.staccess
</Files>

<IfModule mod_rewrite.c>
RewriteEngine on

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

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

#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 advertising.html [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-printpdf-([0-9]*).html modules.php?name=News&file=printpdf&id=$1 [L]
RewriteRule ^article-page-([0-9]*).html .html$1 [L]
RewriteRule ^article([1-9][0-9]*).* article.html$1 [L]
RewriteRule ^articlebox([1-9][0-9]*).* modules.php?name=News&file=articlebox&sid=$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 news.html [L]

#AvantGo
RewriteRule ^avantgo-print-([0-9]*).html modules.php?name=AvantGo&file=print&sid=$1 [L]
RewriteRule ^avantgo.html avantgo.html [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 comments.html [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]*)-page([0-9]*).html content-cat-.html$1&order=$2&page=$3 [L]
RewriteRule ^content-cat-([0-9]*)-order-([0-9]*).html content-cat-.html$1&order=$2 [L]
RewriteRule ^content-cat-([0-9]*)-page([0-9]*).html content-cat-.html$1&page=$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+=\ ]*)-page-([0-9]*)-order-([0-9]*).html modules.php?name=Content&pa=browse_tag&tag=$1&page=$2&order=$3 [L]
RewriteRule ^content-browse-tag-([/:\-\'{}()\,\._&a-zA-Z0-9+=\ ]*)-page-([0-9]*).html modules.php?name=Content&pa=browse_tag&tag=$1&page=$2 [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 content.html [L]

#Downloads
RewriteRule ^download-mod-([0-9]*).html modules.php?name=Downloads&op=modifydownloadrequest&lid=$1 [L]
RewriteRule ^download-broken-([0-9]*).html modules.php?name=Downloads&op=brokendownload&lid=$1 [L]
RewriteRule ^download-file-([0-9]*).html modules.php?name=Downloads&op=getit&lid=$1 [L]
RewriteRule ^downloads-(NewDownloads|newdownloads).html modules.php?name=Downloads&op=NewDownloads [L]
RewriteRule ^download-shownew-([0-9]*).html modules.php?name=Downloads&op=NewDownloads&newdownloadshowdays=$1 [L]
RewriteRule ^download-seldate-([a-zA-Z0-9+]*).html modules.php?name=Downloads&op=NewDownloadsDate&selectdate=$1 [L]
RewriteRule ^downloads-(MostPopular|mostpopular).html modules.php?name=Downloads&op=MostPopular [L]
RewriteRule ^download-(MostPopular|mostpopular)-([0-9]*)-(num|percent).html modules.php?name=Downloads&op=MostPopular&ratenum=$2&ratetype=$3 [L]
RewriteRule ^download-sort-([0-9]*)-orderby-title([aA]).html modules.php?name=Downloads&cid=$1&orderby=titleA [L]
RewriteRule ^download-sort-([0-9]*)-orderby-title([dD]).html modules.php?name=Downloads&cid=$1&orderby=titleD [L]
RewriteRule ^download-sort-([0-9]*)-orderby-date([aA]).html modules.php?name=Downloads&cid=$1&orderby=dateA [L]
RewriteRule ^download-sort-([0-9]*)-orderby-date([dD]).html modules.php?name=Downloads&cid=$1&orderby=dateD [L]
RewriteRule ^download-sort-([0-9]*)-orderby-hits([aA]).html modules.php?name=Downloads&cid=$1&orderby=hitsA [L]
RewriteRule ^download-sort-([0-9]*)-orderby-hits([dD]).html modules.php?name=Downloads&cid=$1&orderby=hitsD [L]
RewriteRule ^download-paging-([0-9]*)-([0-9]*).html modules.php?name=Downloads&min=$1&cid=$2 [L]
RewriteRule ^download-search-([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-([a-zA-Z0-9\-_\,]*)-([a-zA-Z0-9+]*).html modules.php?name=Downloads&d_op=search&query=$1&orderby=$2 [L]
RewriteRule ^download-searchp-([0-9]*)-([a-zA-Z0-9\-_\,]*).html modules.php?name=Downloads&min=$1&d_op=search&query=$2 [L]
RewriteRule ^download-search.html modules.php?name=Downloads&op=search [L]
RewriteRule ^download-gfx-([0-9]*).html modules.php?name=Downloads&op=gfx&random_num=$1 [L]
RewriteRule ^downloads-cat([0-9]*).html modules.php?name=Downloads&cid=$1 [L]
RewriteRule ^downloads.html?min=([0-9]*)&cid=([0-9]*)$ modules.php?name=Downloads&min=$1&cid=$2 [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 encyclopedia.html [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 feeds.html [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 ^forum-karma-down-([0-9]*).html forums.html?file=karma&u=$1&k=m [L]
RewriteRule ^forum-karma-up-([0-9]*).html forums.html?file=karma&u=$1&k=p [L]
RewriteRule ^forum-karma-true.html forums.html?file=karma&added=true [L]
RewriteRule ^forum-karma.html forums.html?file=karma [L]
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 eventscalendar.html [L]

#NSN Groups
RewriteRule ^groups-([0-9]*).html modules.php?name=Groups&op=GRInfo&gid=$1 [L]
RewriteRule ^groups.html groups.html [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 html_newsletter.html [L]

#Legal
RewriteRule ^legal-([a-zA-Z0-9_-]*).html legal-.html$1 [L]
RewriteRule ^legal.html legal.html [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 members.html [L]
#MetAuthors - only additional rewrite rules not already present will go here
RewriteRule ^metauthors.html metauthors.html [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 project.html [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 messages-popup.html [L]
RewriteRule ^messages.html messages.html [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-comments-([0-9]*).html modules.php?name=Search&type=comments&sid=$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-users.html modules.php?name=Search&type=users [L]
RewriteRule ^search.html* search.html [L]

#Shoutbox
RewriteRule ^lobby-chat-delete-([0-9]*)-page-([0-9]*).html modules.php?name=Shout_Box&Action=Delete&shoutID=$1&page=$2 [L]
RewriteRule ^lobby-chat-edit-([0-9]*)-page-([0-9]*).html modules.php?name=Shout_Box&Action=Edit&shoutID=$1&page=$2 [L]
RewriteRule ^lobby-chat-archives-([0-9]*).html modules.php?name=Shout_Box&page=$1 [L]
RewriteRule ^lobby-chat.html modules.php?name=Shout_Box [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 surveys.html [L]

#Submit_Downloads
RewriteRule ^submit-download-terms.html submit-download.html?op=TermsUse [L]
RewriteRule ^submit-download.html submit-download.html [L]

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

#Tags
RewriteRule ^all-about-([a-zA-Z0-9_\-\+]*).html modules.php?name=Tags&op=list&tag=$1 [L]
RewriteRule ^tags.html tags.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 account.html [L]
</IfModule>

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


Last edited by derek765 on Fri Dec 21, 2012 11:01 pm; edited 1 time in total 
derek765







PostPosted: Wed Dec 19, 2012 9:30 pm Reply with quote

I had to end up putting ErrorDocs under those mod.rewrites, due to the fact it was messing up the ShortLinks.
 
derek765







PostPosted: Fri Dec 21, 2012 11:03 pm Reply with quote

Know another fix for this issue?
 
spasticdonkey
RavenNuke(tm) Development Team



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

PostPosted: Sat Dec 22, 2012 1:31 am Reply with quote

I tried some root/.htaccess solutions with no luck, but not exactly my specialty. I assume this is occurring with 403 errors only? i.e. a directory that exists but should not be browse-able? If that's what's occurring, in most cases you can upload a blank index.html file to said directory. Do not add any to the directories within uploads/ as I recall that created issues in the past.

You can also add a .htaccess file with "deny from all" to the directory if there are no public files within... But you have to be careful doing that, making sure no resources such as images, css/javascript files, or any other files that are intended to be accessed directly. For instance do not add to a theme because it contains CSS/img files in sub-directories that the browser needs access to.

I would probably stick with the first option in most cases. Not to say there couldn't be a solution via root/.htaccess but the issue is unique to our CMS/ErrorDoc integration; and something difficult for me to trace is happening behind the scenes.

Another option is to use Guardians' example above and customize the page so it matches your site and include any links/content that you need to be displayed. Similar solution to what I've done on my site, although it doesn't match my theme; which I wasn't particularly worried about. http://web-cms-designs.com/brokenimage.jpg
 
View user's profile Send private message Visit poster's website
derek765







PostPosted: Sat Dec 22, 2012 2:04 am Reply with quote

I have just tested all root directories, and only these directories, which all contain either index.html or .htaccess cause website distortion with any RavenNuke website using ErrorDocs.
All the rest of the root directorys I get a proper formatted .css page with the ErrorDoc or a blank page caused with the index.html placed in it.

Root Directories which cause distorted page format:

/db/
/admin/
/blocks/
/cache/
/language/
 
spasticdonkey







PostPosted: Sat Dec 22, 2012 2:41 am Reply with quote

Ok that helps. I can see all those directories appear to have both a blank index.html and a .htaccess file that uses deny from all; which prevents the blank index file from being displayed (catch22).

Edit the .htaccess of all those directories to something like so:
Order Deny,Allow
Deny from all

<Files /index.html>
Order Allow,Deny
Allow from all
</Files>


That should prevent any files other than index.html from being displayed and just produce a white page. You could also include an index.html file that displays a warning if you wish; instead of a blank file. See how that works for you.
 
derek765







PostPosted: Sat Dec 22, 2012 6:08 am Reply with quote

Did that, this is the results,

When going to:
/db
/admin
/blocks
/cache
/language

It works properly and displays the correct formatted ErrorDoc, but then when you add a / to the end of any of those directories it creates the distorted page again. lol
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sat Dec 22, 2012 3:39 pm Reply with quote

Just curious, what happens if you remove the "/" from in front of "/index.html"?

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
derek765







PostPosted: Sat Dec 22, 2012 3:48 pm Reply with quote

No change at all, same results

Now when I just use this, I get a white page when going to /db and adds the following / to the url.

Code:
<Files /index.html>

Order Allow,Deny
Allow from all
</Files>


But the white page again, isn't what I am wanting.

I think things look much nicer when letting the user actually know the issue that has happened while still displaying the site to provide them with somewhere else to go.
Know what I mean?
 
montego







PostPosted: Sat Dec 22, 2012 4:09 pm Reply with quote

I do know what you mean, but another way to look at this is that there isn't a key click on the site that will ever give them this URL and I have never seen anyone just accidentally enter in that kind of URL. Therefore, as long as you don't get a directory-browsing exploit, is it really an issue that the page is blank?

Keep in mind as well that the robots.txt file asks search engines not to crawl these directories as well.

Not saying it shouldn't be looked at, I'm just saying that it would be probably be low priority.
 
spasticdonkey







PostPosted: Sat Dec 22, 2012 5:51 pm Reply with quote

You are taking extra effort to protect all your directories, so you could probably comment out
# Options -Indexes
in your root/.htaccess and see if that fixes the trailing slash issue on those directories. Although it may create more problems with other directories; I haven't tried it.

I have to agree with montego as anyone stumbling on those directories is either looking for exploits on your site, or more likely these days a bot of some kind. My sites get scanned by bots looking for vulnerable wordpress directories daily. Considering the nature of these "page views" I don't feel any obligation to present them with a nice message. It can also be a waste of bandwidth, imo; which may be limited depending on a given hosting plan.

I also agree with Montego that it should be looked at; but we have some considerable work ahead for our next major release, RN3, and have to prioritize what we actually have time for.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©