| Author |
Message |
cathyy
Nuke Soldier


Joined: Jun 20, 2003
Posts: 17
|
Posted:
Fri Jun 20, 2003 6:12 pm |
  |
I downloaded google tap 0.6 and uncompressed it, but there was no installation instructions to be found.
I can see folders Nuke5.x, Nuke6.x, and files beta and credits. I use WinRAR program.
Any help will be greatly appreciated.
Cathy |
|
|
   |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Fri Jun 20, 2003 7:15 pm |
  |
Hi, you can take a look at the files, and it'll tell you in them what to look for and what to do. After the server move, the next release will cover it better. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
cathyy
Nuke Soldier


Joined: Jun 20, 2003
Posts: 17
|
Posted:
Mon Jun 23, 2003 11:28 am |
  |
Hi Zhen,
Thanks for your reply. I looked at all files and read the instructions. The problem is that I am not a programmer and need some kind of "a guide for idiots" to get things done right.
I find this in the "footer.txt" but am not sure which lines the "block" mean.
| Quote: |
Directions: Find the "foot();" function call near the end of the document and
replace it with the following block:
$contents = ob_get_contents(); // store buffer in $contents
ob_end_clean(); // delete output buffer and stop buffering
echo replace_for_mod_rewrite($contents); //display modified buffer to screen
foot(); |
This is the original function block, which lines do I need to replace?
| Quote: |
function foot() {
global $prefix, $user_prefix, $db, $index, $user, $cookie, $storynum, $user, $cookie, $Default_Theme, $foot1, $foot2, $foot3, $foot4, $home, $module, $name;
if ($home == 1) {
blocks(Down);
}
if ($module == 1 AND file_exists("modules/$name/copyright.php")) {
$cpname = ereg_replace("_", " ", $name);
echo "<div align=\"right\"><a href=\"javascript:openwindow()\">$cpname &</a></div>";
}
themefooter();
echo "</body>\n"
."</html>";
die();
}
foot(); |
I am also confused on the ".htaccess" file.
| Quote: |
#Directions: rename this file to ".htaccess" without quotes.
|
Question - which directory do I upload this file to?
About the "block_old_articles" - do I just upload it into the "blocks" folder?
Appreciate your help!
Cathy |
|
|
   |
 |
XO
Nuke Soldier


Joined: Jun 20, 2003
Posts: 31
|
Posted:
Thu Jun 26, 2003 9:33 pm |
  |
| Quote: |
I am also confused on the ".htaccess" file.
Quote:
#Directions: rename this file to ".htaccess" without quotes. |
You rename it, instead of htacces.txt it will be .htaccess (without the .txt)
| Quote: |
Question - which directory do I upload this file to?
About the "block_old_articles" - do I just upload it into the "blocks" folder?
Appreciate your help! |
Into the blocks folder I think....
But dont believe everything I say, I tried installing this google tap and I failed (5)times
but if those are the only questions you have, I think I'm correct...
and yea, I wish the google tap would have better instructions
take care
hope I helped in some way...if you have any more questions just p.m me... |
_________________ Who said fortunecity did not hosted Nuke sites?
http://members.fortunecity.com/xo
believe what you see... |
|
    |
 |
cathyy
Nuke Soldier


Joined: Jun 20, 2003
Posts: 17
|
Posted:
Tue Jul 01, 2003 8:44 am |
  |
Well, it seems like everyone else knows how to install google tap. Can some one with successful experience share some advice and tips here?
When is the next release of googletap? I do hope it will have more detailed installation instructions. |
|
|
   |
 |
XO
Nuke Soldier


Joined: Jun 20, 2003
Posts: 31
|
Posted:
Tue Jul 01, 2003 9:46 am |
  |
|
    |
 |
erbuc
Corporal


Joined: Apr 17, 2003
Posts: 65
|
Posted:
Thu Jul 17, 2003 9:27 am |
  |
Hi everyone. This is my first post to this forum so I am not sure if this is the correct place to post such a note.
I installed the GoogleTap for PHP Nuke 6.0 and had noticed that I was NOT able to access my sub-domain after wards. For example, my domain name is www.siamcomm.com and I have a customer that uses a sub-domain mpass.siamcomm.com. After installing the GoogleTap, the mpass sub-domain returns a 404 error.
I also find the version of the Google Tap for 6.5 to be vague in the installation procedures. As I do not remember the complete procedures for the version for 6.0, is it possible to get something more complete for 6.5?
Thanks in advance for your help.
Eric |
|
|
     |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Thu Jul 17, 2003 10:32 am |
  |
For subdomain you need something like this:
RewriteCond %{HTTP_HOST} beta.nukecops.com
RewriteCond %{REQUEST_URI} !betaNC/
RewriteRule ^(.*)$ betaNC/$1 [L] |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
erbuc
Corporal


Joined: Apr 17, 2003
Posts: 65
|
Posted:
Thu Jul 17, 2003 9:53 pm |
  |
OK ... so just to make sure I understand this, let me make sure I fill in the correct values for my server:
http://www.siamcomm.com - Primary web domain
http://mpass.siamcomm.com - MPass sub-domain
I update the .htaccess file in the Primary web domain to read:
| Code: |
RewriteCond %{HTTP_HOST} mpass.siamcomm.com
RewriteCond %{REQUEST_URI} !mpass/
RewriteRule ^(.*)$ mpass/$1 [L]
|
Is this correct?
Thx, erbuc |
|
|
     |
 |
VinDSL
Site Admin


Joined: Jul 08, 2003
Posts: 1193
Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs
|
Posted:
Fri Jul 18, 2003 3:58 am |
  |
| cathyy wrote: |
Well, it seems like everyone else knows how to install google tap. Can some one with successful experience share some advice and tips here?
When is the next release of googletap? I do hope it will have more detailed installation instructions. |
If you haven't had any luck installing Google Tap Beta 0.6.5 it's probably because part of the .htaccess file is missing. I installed 0.6.0 a while back and it worked great. However, when I upgraded to 0.6.5 last night, I was met by a blank screen when I went to my site.
This code is missing at the top of 'htaccess' in version 0.6.5:
| Code: |
#************************************************************************/
#* Google Tap Beta 0.6.5 - 11 Jul 2003 */
#* Copyright (c) 2002 by Nuke Cops */
#* http://nukecops.com */
#* */
#* This program is free software. You can redistribute it and/or modify */
#* it under the terms of the GNU General Public License as published by */
#* the Free Software Foundation; either version 2 of the License. */
#************************************************************************/
#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 |
The rest of it should be fairly simple. It's just a matter of copy 'n' pasting some code... |
|
|
     |
 |
VinDSL
Site Admin


Joined: Jul 08, 2003
Posts: 1193
Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs
|
Posted:
Fri Jul 18, 2003 4:41 am |
  |
| erbuc wrote: |
OK ... so just to make sure I understand this, let me make sure I fill in the correct values for my server:
http://www.siamcomm.com - Primary web domain
http://mpass.siamcomm.com - MPass sub-domain
I update the .htaccess file in the Primary web domain to read:
| Code: |
RewriteCond %{HTTP_HOST} mpass.siamcomm.com
RewriteCond %{REQUEST_URI} !mpass/
RewriteRule ^(.*)$ mpass/$1 [L]
|
Is this correct?
Thx, erbuc |
You got it! I would add a couple of lines though...
| Code: |
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} mpass.siamcomm.com
RewriteCond %{REQUEST_URI} !mpass/
RewriteRule ^(.*)$ mpass/$1 [L]
|
Try it both ways and see what happens. If your server is configured correctly, you won't need those extra lines. If it craters with a 500 error, add them... |
|
|
     |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Fri Jul 18, 2003 5:34 am |
  |
A fully working copy can be obtained from the cvs tree. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
erbuc
Corporal


Joined: Apr 17, 2003
Posts: 65
|
Posted:
Sun Jul 20, 2003 11:42 pm |
  |
Hi Guys,
I have downloaded the latest .htaccess from the CVS and added the lines noted above (VinDSLs post).
| Code: |
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} mpass.siamcomm.com
RewriteCond %{REQUEST_URI} !mpass/
RewriteRule ^(.*)$ mpass/$1 [L]
|
When I try to access http://mpass.siamcomm.com I get a 404 error, file not found.
I have no problem accessing http://www.siamcomm.com
Any other suggestions?
erbuc |
|
|
     |
 |
VinDSL
Site Admin


Joined: Jul 08, 2003
Posts: 1193
Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs
|
Posted:
Mon Jul 21, 2003 1:32 am |
  |
Does that link work with no .htaccess file present? |
|
|
     |
 |
erbuc
Corporal


Joined: Apr 17, 2003
Posts: 65
|
Posted:
Mon Jul 21, 2003 8:10 pm |
  |
Yes ... good question ... the link does work with no .htaccess file in it. After I deleted it, I uploaded the file again and now get a slightly different error ... not sure why ... but it may shed some more light on the problem.
| Quote: |
Not Found
The requested URL /mpass/mpass/ was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
|
I don't understand why it's pointing to "/mpass/mpass/" with the entries in the *.htaccess file as noted above.
Thanks so far for all the help.
erbuc |
|
|
     |
 |
|
|