You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 52 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Help Please Google Tap .htaccess 403 forbidden [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
DealerDave
Nuke Cadet
Nuke Cadet


Joined: Feb 12, 2003
Posts: 4

Location: USA

PostPosted: Mon Feb 17, 2003 10:49 am Reply with quoteBack to top

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
Find all posts by DealerDaveView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Mon Feb 17, 2003 10:51 am Reply with quoteBack to top

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]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
DealerDave
Nuke Cadet
Nuke Cadet


Joined: Feb 12, 2003
Posts: 4

Location: USA

PostPosted: Mon Feb 17, 2003 10:53 am Reply with quoteBack to top

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
Find all posts by DealerDaveView user's profileSend private message
DealerDave
Nuke Cadet
Nuke Cadet


Joined: Feb 12, 2003
Posts: 4

Location: USA

PostPosted: Mon Feb 17, 2003 11:20 am Reply with quoteBack to top

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
Find all posts by DealerDaveView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Mon Feb 17, 2003 11:31 am Reply with quoteBack to top

Question is, does your server have mod_rewrite enabled?

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
DealerDave
Nuke Cadet
Nuke Cadet


Joined: Feb 12, 2003
Posts: 4

Location: USA

PostPosted: Mon Feb 17, 2003 1:44 pm Reply with quoteBack to top

Thanks Zhen,

Just sent my host a request to enable/install mod_rewrite. Wish me luck.

_________________
Best Regards, Dave
Find all posts by DealerDaveView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Mon Feb 17, 2003 1:50 pm Reply with quoteBack to top

Good luck.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
ESP-JR
Nuke Soldier
Nuke Soldier


Joined: May 08, 2003
Posts: 28

Location: Germany

PostPosted: Sat May 17, 2003 1:26 pm Reply with quoteBack to top

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?
Find all posts by ESP-JRView user's profileSend private messageVisit poster's website
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Mon May 19, 2003 5:42 am Reply with quoteBack to top

Make sure you have symbolic link off for one.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
ESP-JR
Nuke Soldier
Nuke Soldier


Joined: May 08, 2003
Posts: 28

Location: Germany

PostPosted: Mon May 19, 2003 6:44 am Reply with quoteBack to top

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 Smile .... 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
Find all posts by ESP-JRView user's profileSend private messageVisit poster's website
jbsarma
Corporal
Corporal


Joined: Feb 16, 2003
Posts: 59

Location: UK

PostPosted: Mon May 19, 2003 1:49 pm Reply with quoteBack to top

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.
Find all posts by jbsarmaView user's profileSend private messageVisit poster's website
allomorph
Nuke Soldier
Nuke Soldier


Joined: Jul 01, 2003
Posts: 13


PostPosted: Tue Jul 01, 2003 4:20 pm Reply with quoteBack to top

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.
Find all posts by allomorphView user's profileSend private message
Willy_Wonka
Corporal
Corporal


Joined: Jun 22, 2003
Posts: 69

Location: The Chocolate Factory

PostPosted: Tue Jul 01, 2003 5:08 pm Reply with quoteBack to top

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?
Find all posts by Willy_WonkaView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Tue Jul 01, 2003 5:58 pm Reply with quoteBack to top

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]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
Willy_Wonka
Corporal
Corporal


Joined: Jun 22, 2003
Posts: 69

Location: The Chocolate Factory

PostPosted: Tue Jul 01, 2003 7:03 pm Reply with quoteBack to top

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.
Find all posts by Willy_WonkaView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.227 Seconds - 207 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::