| Author |
Message |
DealerDave
Nuke Cadet


Joined: Feb 12, 2003
Posts: 4
Location: USA
|
Posted:
Mon Feb 17, 2003 10:49 am |
  |
I just uploaded the google tap for the first time..... 0.60 for php-nuke 6.0. I am not sure if i put the .htaccess in the wrong place (i put it in the same place as the config.php file is) - I'm now guessing that that was wrong. But now I can't even bring my site up at all. 403 forbidden message.
I can't even see the .htaccess file to delete it?
Any advice?
Thanks, Dave |
|
|
   |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Mon Feb 17, 2003 10:51 am |
  |
Yes it is supposed to be found in your nuke base dir. If you are getting a 403 then there must be some command in .htaccess that isn't allowing you to see the site. Please lets see the contents. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
DealerDave
Nuke Cadet


Joined: Feb 12, 2003
Posts: 4
Location: USA
|
Posted:
Mon Feb 17, 2003 10:53 am |
  |
sorry, do you mean the contents of the .htaccess file?
sorry for the double post earlier also....
| Code: |
#Directions: rename this file to ".htaccess" without quotes.
# deny most common except .php
<FilesMatch "\.(inc|tpl|h|ihtml|sql|ini|conf|class|bin|spd|theme|module)$">
deny from all
</FilesMatch>
<Limit GET PUT POST>
Order Allow,Deny
Allow from all
</Limit>
RewriteEngine on
RewriteRule /index.html /index.php
#Articles
RewriteRule ^article([1-9][0-9]*).* article.html$1
RewriteRule ^article-topic-([0-9]*).html article-topic-.html$1
#Content
RewriteRule ^contentid-([1-9][0-9]*).html contentid-.html$1
RewriteRule ^content-cat-([1-9][0-9]*).html content-cat-.html$1
#FAQ
RewriteRule ^faq.html faq.html
RewriteRule ^faq-([0-9]*)-([a-zA-Z0-9+]*).html faq.html&myfaq=yes&id_cat=$1&categories=$2
#Forums
RewriteRule ^forums.html modules.php?name=Forums
RewriteRule ^forums.* forums.html
RewriteRule ^forumx([0-9]+)-([0-9]+)-([0-9]+).html forum.html$1&topicdays=$2&start=$3
RewriteRule ^postlite([0-9]*)-([/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html postt.html$1&highlight=$2
RewriteRule ^forum([1-9][0-9]*).* forum.html$1
RewriteRule ^posts([0-9]*)-([0-9]*).html postt.html$1&start=$2
RewriteRule ^postx([0-9]+)-([0-9]+)-([0-9]+).html postt.html$1&postdays=$2&postorder=asc&start=$3
RewriteRule ^post(p|t)([1-9][0-9]*).* modules.php?name=Forums&file=viewtopic&$1=$2
RewriteRule ^markread([0-9]*).html forum.html$1&mark=topics
RewriteRule ^newposts([0-9]*).html postt.html$1&view=newest
#Downloads
RewriteRule ^downloads.html modules.php?name=Downloads
RewriteRule ^downloads-cat-([0-9]*).html&orderby=([a-zA-Z_]*) modules.php?name=Downloads&d_op=viewdownload&cid=$1&orderby=$2
RewriteRule ^downloads-cats-([0-9]*)-([0-9]*)-([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1&min=$2&orderby=titleA&show=$3
RewriteRule ^downloads-cat-([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1
RewriteRule ^downloads-file-([0-9]*)-details-([/:\-\'{}()._&a-zA-Z0-9+=]*).html modules.php?name=Downloads&d_op=viewdownloaddetails&lid=$1&ttitle=$2
RewriteRule ^downloads-file-([0-9]*).html modules.php?name=Downloads&d_op=getit&lid=$1
#Stories Archive
RewriteRule ^archive.html archive.html
RewriteRule ^archive-([0-9]*)-([0-9]*)-([a-zA-Z]*).* archive.html&sa=show_month&year=$1&month=$2&month_l=$3
#Reviews
RewriteRule ^reviews.html reviews.html
RewriteRule ^reviews-([0-9]*).html reviews.html&rop=showcontent&id=$1
RewriteRule ^reviews-new.html reviews.html&rop=write_review
RewriteRule ^reviews-sortby-([a-zA-Z0-9]*).html reviews.html&rop=$1
RewriteRule ^reviews-comment-([0-9]*)-([a-zA-Z0-9]*).* reviews.html&rop=postcomment&id=$1&title=$2
RewriteRule ^reviews-([0-9]*)-delete.html reviews.html&rop=del_review&id_del=$1
RewriteRule ^reviews-([0-9]*)-edit.html reviews.html&rop=mod_review&id=$1
#Sections
RewriteRule ^section-(printpage|viewarticle)-([0-9]*).html sections.html&op=$1&artid=$2
RewriteRule ^section-([0-9]*).html sections.html&op=listarticles&secid=$1
RewriteRule ^sections.html sections.html
#Surveys
RewriteRule ^surveys.html modules.php?name=Surveys
RewriteRule ^survey([a-zA-Z0-9]*)results.html modules.php?name=Surveys&op=results&pollID=$1
RewriteRule ^survey([a-zA-Z0-9]*).html modules.php?name=Surveys&pollID=$1
#Submit
RewriteRule ^submit.html submit.html
#Top10
RewriteRule ^top.html top.html
#Topics
RewriteRule ^topics.html topics.html
#Your Account
RewriteRule ^userinfo-([a-zA-Z0-9_-]*).html userinfo-.html$1
#WebLinks
RewriteRule ^linksnew-([0-9]+).html modules.php?op=modload&name=Web_Links&file=index&l_op=NewLinksDate&selectdate=$1
RewriteRule ^linkop-(AddLink|MostPopular|NewLinks|RandomLink|TopRated).html modules.php?op=modload&name=Web_Links&file=index&l_op=$1
RewriteRule ^ratelink-([0-9]*)-([/:\-\'(){}.&=_a-zA-Z0-9\ ]*).html modules.php?op=modload&name=Web_Links&file=index&l_op=ratelink&lid=$1&ttitle=$2
RewriteRule ^viewlink-([0-9]*).html links.html&l_op=visit&lid=$1
RewriteRule ^links-([0-9]*)-([0-9]*)-([0-9]*).html links.html&file=index&l_op=viewlink&cid=$1&min=$2&orderby=titleA&show=$3
RewriteRule ^link-([0-9]*).html links.html&l_op=viewlink&cid=$1
RewriteRule ^links.html links.html
|
|
|
|
   |
 |
DealerDave
Nuke Cadet


Joined: Feb 12, 2003
Posts: 4
Location: USA
|
Posted:
Mon Feb 17, 2003 11:20 am |
  |
I should also mention that I am on a virtual hosting server.... which really bites..... but could this be the problem?
Thanks again,
what a great community,
Dave |
|
|
   |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Mon Feb 17, 2003 11:31 am |
  |
Question is, does your server have mod_rewrite enabled? |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
DealerDave
Nuke Cadet


Joined: Feb 12, 2003
Posts: 4
Location: USA
|
Posted:
Mon Feb 17, 2003 1:44 pm |
  |
Thanks Zhen,
Just sent my host a request to enable/install mod_rewrite. Wish me luck. |
_________________ Best Regards, Dave |
|
   |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Mon Feb 17, 2003 1:50 pm |
  |
Good luck. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
ESP-JR
Nuke Soldier


Joined: May 08, 2003
Posts: 28
Location: Germany
|
Posted:
Sat May 17, 2003 1:26 pm |
  |
Hello,
I just install Google Tap 0.6.0,
I couldn't get it work on my localhost at home, so I decided to load the modified files up to the webserver.
I have mod_rewrite enabled.
But the .htaccess file blocks me. Error403 - Forbidden
| Code: |
Forbidden
You don't have permission to access / on this server.
--------------------------------------------------------------------------------
Apache/1.3.27 Server at www.jrodriguez.de Port 80 |
Here the begin of the .htaccess file
| Code: |
#Directions: rename this file to ".htaccess" without quotes.
# deny most common except .php
<FilesMatch "\.(inc|tpl|h|ihtml|sql|ini|conf|class|bin|spd|theme|module)$">
deny from all
</FilesMatch>
<Limit GET PUT POST>
Order Allow,Deny
Allow from all
</Limit>
RewriteEngine on
RewriteRule /index.html /index.php |
I don't change anything in this file, just rename it.
Another problem on localhost is, that the .html files are not shown
Error Http404
Did anyone can help me? |
|
|
    |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Mon May 19, 2003 5:42 am |
  |
Make sure you have symbolic link off for one. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
ESP-JR
Nuke Soldier


Joined: May 08, 2003
Posts: 28
Location: Germany
|
Posted:
Mon May 19, 2003 6:44 am |
  |
| Zhen-Xjell wrote: |
| Make sure you have symbolic link off for one. |
Sorry Zhen,
but i don't know what you mean with symbolic link.
Is it a parameter ?
Please, explain it for me.
I didn't found anything in the Search function of this forum -> Only on post ... and i'm having no idea.
I think the google tap is a great work and i will use it .... but I don't know exactly what you mean.
...and sorry for my stupidity |
Last edited by ESP-JR on Sat Jun 14, 2003 8:39 am; edited 1 time in total |
|
    |
 |
jbsarma
Corporal


Joined: Feb 16, 2003
Posts: 59
Location: UK
|
Posted:
Mon May 19, 2003 1:49 pm |
  |
Hi
it is a shame that we have not been able to get google-tap working. In my case I get server 500 error. I posted a message and got quite a few replies http://www.nukecops.com/postlite2840-.html. But nobody seems to have a solution to this problem. We really need help and some expert thinking about the problem.
Thanks. |
|
|
    |
 |
allomorph
Nuke Soldier


Joined: Jul 01, 2003
Posts: 13
|
Posted:
Tue Jul 01, 2003 4:20 pm |
  |
I stripped off the beginning slash as shown below (Stolen from URL from previous post) in the .htaccess file and it got rid of the Forbidden error I was experiencing. If you are on a virtual server, you might need to get the rest of the change (shown in the previous post)
The following is the only thing I changed in .htaccess:
RewriteRule index.html index.php
I just wanted to post this fix in this thread. It's the only one that shows up for search of "google tap forbidden", and I missed the link shown above on previous visits. |
|
|
   |
 |
Willy_Wonka
Corporal


Joined: Jun 22, 2003
Posts: 69
Location: The Chocolate Factory
|
Posted:
Tue Jul 01, 2003 5:08 pm |
  |
About search engines, do they index if the link is in the form of a redirect in a meta tags or with an onload etc. in the body tag? |
|
|
   |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Tue Jul 01, 2003 5:58 pm |
  |
mod_rewrite is all server based, the search engines see only what you see in the URLs. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
Willy_Wonka
Corporal


Joined: Jun 22, 2003
Posts: 69
Location: The Chocolate Factory
|
Posted:
Tue Jul 01, 2003 7:03 pm |
  |
Thank you for that.
Now something else.
I have seen many posts on this thread about Rewrite etc. to be put in .htaccess.
Is there a file with all the data that can be doenload from here.
I don't seem to find it.
All I can see in your download area is rewrites to help search engines finding pages. |
|
|
   |
 |
|
|