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, 59 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 - Problem with site statistics since installing GoogleTap [ ]
 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
gschoper
Captain
Captain


Joined: Sep 16, 2003
Posts: 380


PostPosted: Thu Oct 02, 2003 5:53 pm Reply with quoteBack to top

I installed GoogleTap (cvs .GT files) on my nuke 6.5 site and now the site statistics index generated by my host are no longer viewable.

When I browse to http://nuke.schoper.net/stats/index.html I should see my main Webalizer index page. Instead I get a copy of the sites main page file with most of the images missing.

Is there something I can put in .htaccess or header.php to prevent this from happening?

TIA,

Greg
http://nuke.schoper.net

_________________
Image
http://nuke.schoper.net/
Find all posts by gschoperView user's profileSend private messageSend e-mailVisit poster's website
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Thu Oct 02, 2003 8:24 pm Reply with quoteBack to top

I don't know your exact setup, but why is it calling the stats directory, shouldn't it be http://nuke.schoper.net/stats.html if it was working correctly. I haven't seen GT using directories on rewrites, would you mind pasting the code for your stats module, I will compare it to the module to see what the rewrites should be, and post the code up here, with a working example on my test site. Thanks.

-Bill (Audioslaved)

_________________
GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/

The Audioslave Fan Forum
http://www.audioslaved.com
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Thu Oct 02, 2003 8:27 pm Reply with quoteBack to top

Looking on your site, I noticed that link to stats did not work, it should be nuke.schoper.net/modules.php?name=Statistics

_________________
GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/

The Audioslave Fan Forum
http://www.audioslaved.com
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Thu Oct 02, 2003 8:29 pm Reply with quoteBack to top

When looking at the CVS files, I do not see any rewrites for the Stats module in the header.php or the .htaccess, the distribution on the CVS does not contain a rewrite for the stats module. If you would like one, I will work on it for you.

_________________
GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/

The Audioslave Fan Forum
http://www.audioslaved.com
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
gschoper
Captain
Captain


Joined: Sep 16, 2003
Posts: 380


PostPosted: Thu Oct 02, 2003 8:33 pm Reply with quoteBack to top

Sorry, I should have explained in a little more detail. The /stats/ directory is not nuke content. It is generated and placed in that directory by my service provider. It just happens to reside under the root of my php-nuke install and the rewrite rules appear to be doing somthing with the index.html file. All of the other files under /stats/ are viewable if you type their url into the browsers location bar, it's just the index.html file that is affected.

Is there something I can modify to tell it to exclude /stats/ ?

Greg

_________________
Image
http://nuke.schoper.net/
Find all posts by gschoperView user's profileSend private messageSend e-mailVisit poster's website
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Thu Oct 02, 2003 9:04 pm Reply with quoteBack to top

I need you to paste your .htaccess and header.php up here, It looks as though your rewrites are going to the stats directory, when they should not be.

_________________
GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/

The Audioslave Fan Forum
http://www.audioslaved.com
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
gschoper
Captain
Captain


Joined: Sep 16, 2003
Posts: 380


PostPosted: Thu Oct 02, 2003 9:15 pm Reply with quoteBack to top

Both .htaccess and header.php are unmodified versions from cvs.nukecops.com downloaded today.

_________________
Image
http://nuke.schoper.net/
Find all posts by gschoperView user's profileSend private messageSend e-mailVisit poster's website
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Thu Oct 02, 2003 9:18 pm Reply with quoteBack to top

I think I got what your saying.
Grab the htaccess.SUBDOMAINS from the CVS and upload it to the stats directory, (make sure you rename it) this will turn rewrite off. You should then be able to view the content in the folder.

If you want rewrite on still, you should be able to drop the .htaccess.GT file in there and rewrite for that directory individually, am I off base here, let me know how that works.

_________________
GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/

The Audioslave Fan Forum
http://www.audioslaved.com
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
gschoper
Captain
Captain


Joined: Sep 16, 2003
Posts: 380


PostPosted: Thu Oct 02, 2003 9:28 pm Reply with quoteBack to top

Audioslaved wrote:
I think I got what your saying.
Grab the htaccess.SUBDOMAINS from the CVS and upload it to the stats directory, (make sure you rename it) this will turn rewrite off. You should then be able to view the content in the folder.

If you want rewrite on still, you should be able to drop the .htaccess.GT file in there and rewrite for that directory individually, am I off base here, let me know how that works.


I just tried this. Unfortunately I don't have write access to /stats/. My service provider must be doing something (sticky bit???) to prevent me from creating or modifying files under that one directory.

_________________
Image
http://nuke.schoper.net/
Find all posts by gschoperView user's profileSend private messageSend e-mailVisit poster's website
gschoper
Captain
Captain


Joined: Sep 16, 2003
Posts: 380


PostPosted: Thu Oct 02, 2003 9:41 pm Reply with quoteBack to top

I googled for "mod_rewrite exlcude directory" and came up with this:

Code:

RewriteCond %{REQUEST_URI} !^/stats


Which should exlude rewrites of all files under /stats, but this didn't work. I might not be placing it in the right area of /.htaccess. I put it directly under (line 15):

Code:

RewriteEngine on

_________________
Image
http://nuke.schoper.net/
Find all posts by gschoperView user's profileSend private messageSend e-mailVisit poster's website
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Thu Oct 02, 2003 9:41 pm Reply with quoteBack to top

You will have to contact your service provider and have them place that file in that directory. I do not believe there is any other way around this. Anyone else have any idea's.

-Bill (Audioslaved)

_________________
GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/

The Audioslave Fan Forum
http://www.audioslaved.com
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
gschoper
Captain
Captain


Joined: Sep 16, 2003
Posts: 380


PostPosted: Thu Oct 02, 2003 10:12 pm Reply with quoteBack to top

I put in a request with my service provider to create the .htaccess file for me. I'll update this thread with the results when I get them.

Thanks for your help.

Greg

_________________
Image
http://nuke.schoper.net/
Find all posts by gschoperView user's profileSend private messageSend e-mailVisit poster's website
gschoper
Captain
Captain


Joined: Sep 16, 2003
Posts: 380


PostPosted: Thu Oct 02, 2003 11:08 pm Reply with quoteBack to top

My service provider created the .htaccess file for me and the problem went away.

Thanks for your help.

Greg

_________________
Image
http://nuke.schoper.net/
Find all posts by gschoperView user's profileSend private messageSend e-mailVisit poster's website
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Thu Oct 02, 2003 11:26 pm Reply with quoteBack to top

Not a problem, glad I could help.

-Bill (Audioslaved)

_________________
GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/

The Audioslave Fan Forum
http://www.audioslaved.com
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
pitsch
Nuke Cadet
Nuke Cadet


Joined: Aug 21, 2003
Posts: 7


PostPosted: Mon Oct 20, 2003 4:18 am Reply with quoteBack to top

Hello,
i have the same problem so this

Quote:
RewriteCond %{REQUEST_URI} !^/stats


helped me.

But now I want to have access to the directory stats and all existent subdirectories.

What have I to write in the .htaccess file to make this possible. Now the stats-mdoule works, but not the subdirectories under the stats-directory.

Please help me,

Andreas
Find all posts by pitschView 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.238 Seconds - 228 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::