Greenguy's Board


Go Back   Greenguy's Board > Chit Chat
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2008-08-05, 10:56 AM   #1
JohnnyR
I can now put whatever I want in this space :P
 
Join Date: Jun 2005
Location: Boobville... I like it way better here
Posts: 557
Send a message via ICQ to JohnnyR
A strange problem with FireFox

Hiya guys, something strange's happening. Take this url for instance and open it in IE. Everything works fine, but when u try to open it in FF a prompt comes up asking to pick which software to use to visualize the file, or if I wanted to save it.

This doesn't happen for all the sites on that domain - first I thought it had something to do with htaccess but that's not the case - I have the same problem if i delete htaccess entirely.

Any clue as to why this is happening, anybody?
Thanks for the hand
__________________
With sufficient thrust, pigs fly just fine!
JohnnyR is offline   Reply With Quote
Old 2008-08-05, 10:59 AM   #2
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
It wants to set a cookie.
Attached Images
File Type: png Picture 1.png (34.9 KB, 133 views)
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2008-08-05, 11:07 AM   #3
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
It's fine here in FF2.0
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
Old 2008-08-05, 11:07 AM   #4
JohnnyR
I can now put whatever I want in this space :P
 
Join Date: Jun 2005
Location: Boobville... I like it way better here
Posts: 557
Send a message via ICQ to JohnnyR
Uhmm... I'm a bit lost cuz I don't know much about cookies. Why could that be?
Here's a mirror of the site which works fine. Does this one also try to set a cookie for you cleo? As a matter a fact, do any of these?

I also downloaded a copy of the page from the server and I'm going trough the source code and I don't see anything fishy... not that I know what I'm looking for. How are cookies being set? I'd assume there needs to be some code inside the html, right?
__________________
With sufficient thrust, pigs fly just fine!
JohnnyR is offline   Reply With Quote
Old 2008-08-05, 11:08 AM   #5
JohnnyR
I can now put whatever I want in this space :P
 
Join Date: Jun 2005
Location: Boobville... I like it way better here
Posts: 557
Send a message via ICQ to JohnnyR
Oh and Cleo, let it set the cookie and then have a look see if u can figure out what it actually does, would u?

& thanks UW
__________________
With sufficient thrust, pigs fly just fine!
JohnnyR is offline   Reply With Quote
Old 2008-08-05, 11:28 AM   #6
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
Your mirror sets a phpsessionid cookie, almost like session_start() is called early on. However, that isn't consistent. Its like out of every few that try to set a cookie, some do, some redirect to an index page which was quite broken. Regrettably I didn't look closely at the source code, and I can't get that page to show up again, but, it was a very blank page, with a search box -- until I reread your thread, I thought it was a simple hub listing.

Gut feeling is that you have something suspect on the page and it randomly tries to redirect. because it popped that one page once, and I was declining the cookies, I didn't think much about it, but, on the one attempt, it did try to set multiple cookies from your site -- each of which was a php session id. Firefox 3 here -- when the cookie was accepted, it seemed to make no difference in the display of the pages. The hub page that displayed is probably of some concern.

If you aren't intentionally setting the session, you might want to see if any of your pages have been modified recently with any odd php code that contains an eval(base64_decode('ab23bab5b blah blah')).
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
Old 2008-08-05, 11:30 AM   #7
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
I went downstairs, refilled my coffee, came back and clicked the link again and got this.
I refreshed and got the free site again. When I check cookie information, it's a PHPSESSID cookie which expires at the end of the session.
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
Old 2008-08-05, 11:34 AM   #8
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
That is the same page I got once.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
Old 2008-08-05, 12:08 PM   #9
JohnnyR
I can now put whatever I want in this space :P
 
Join Date: Jun 2005
Location: Boobville... I like it way better here
Posts: 557
Send a message via ICQ to JohnnyR
cd and UW, I was fucking around with htaccess and that is why you got those strange errors - I installed this script on the domain called phpLD which comes with a few htaccess rules to be added and I tried to modify those see if they cause the problem.

I deleted htaccess entirely now... can u re-check? I still got the same problem from the start. And no, I'm not intentionally trying to set any cookie...

Also can u see if there are any similar problems with any of these links? I randomly tried a few and everything seems ok with those... which is why this is stranger.
__________________
With sufficient thrust, pigs fly just fine!
JohnnyR is offline   Reply With Quote
Old 2008-08-05, 12:11 PM   #10
justbondage
I want to set the record straight - I thought the cop was a prostitute
 
justbondage's Avatar
 
Join Date: Jun 2008
Posts: 293
Looks fine for me in FF3
__________________
TOF - Post your galleries
JB - Post bondage stuff

ICQ - 424617189
justbondage is offline   Reply With Quote
Old 2008-08-05, 12:14 PM   #11
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
All seems fine now
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2008-08-05, 12:27 PM   #12
JohnnyR
I can now put whatever I want in this space :P
 
Join Date: Jun 2005
Location: Boobville... I like it way better here
Posts: 557
Send a message via ICQ to JohnnyR
I still have the "open with / save" problem...
However, I deleted htaccess entirely now... so maybe that's why there's no cookie anymore? Here were it's contents:

Quote:
#OLD STUFF

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(www\.)?pleasuredelivery\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?girlslovesquirting\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?greenguyandjim\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule \.(jpe?g|gif|png)$ - [F]

ErrorDocument 400 /error.html
ErrorDocument 401 /error.html
ErrorDocument 403 /error.html
ErrorDocument 404 /error.html
ErrorDocument 500 /error.html

#################################################
## PHPLD Apache Server Settings ##
#################################################

# Prevent .htaccess and .htpasswd files from being viewed by web clients
<Files "^\.ht">
Order allow,deny
Deny from all
</Files>

# Protect files
<Files ~ "^(.*)\.(inc|inc\.php|tpl|sql)$">
Order deny,allow
Deny from all
</Files>

# Protect directories
<Files ~ "^(backup|files|images|include|lang|libs(/.+)?|temp(/.+)?|templates(/.+)?|javascripts(/.+)?)$">
Order deny,allow
Deny from all
</Files>

# Disable directory browsing
Options -Indexes

# Follow symbolic links in this directory
Options +FollowSymLinks

# Override PHP settings that cannot be changed at runtime
# (If your server supports PHP settings via htaccess you can comment following two lines off)
# php_value register_globals 0
# php_value session.auto_start 0

# Customized error messages
# ( If you are running in a subfolder please add it, example: "directory/index.php?httpstatus=404" )
#ErrorDocument 404 index.php?httpstatus=404

# Set the default handler
DirectoryIndex index.php

# URL rewrite rules
<IfModule mod_rewrite.c>
RewriteEngine On


#Make sure RewriteBase points to the directory where you installed phpLD.
#Example: "/phpld" if your installation is in a "phpld" subdirectory.

#RewriteBase /

##Latest Links Rewrite
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^latest-links\.htm[l]?$ index.php?list=latest [QSA,NC,L]

##Top Hits Rewrite
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^top-hits\.htm[l]?$ index.php?list=top [QSA,NC,L]

##Latest Articles Rewrite
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^latest-articles\.htm[l]?$ index.php?list=latestarticles [QSA,NC,L]

##Details Link Page Rewrite
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule (.*)detail/link-(.*)\.htm[l]?$ detail.php [QSA,NC]

##Article Page Rewrite
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule (.*)articles/article-(.*)\.htm[l]?$ article.php [QSA,NC]

##Author Page Rewrite
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule (.*)authors/author-(.*)\.htm[l]?$ author.php [QSA,NC]

##Pagination Rewrite
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule (.*)page-[0-9]+\.html$ index.php [QSA,NC,L]

##Pages redirect
RewriteCond %{REQUEST_URI} !page-[0-9]+\.html?$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.+)\.html$ page.php?name=$1 [NC,QSA,L]

##Category redirect
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
Doesn't look like anything trying to set a cookie to me...
__________________
With sufficient thrust, pigs fly just fine!
JohnnyR is offline   Reply With Quote
Old 2008-08-05, 12:38 PM   #13
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
if

# php_value session.auto_start 0

was set on your server to default to 1, it would automatically send a cookie. Since I am not seeing that behavior on every pageload, and it was a phpsession cookie, and I think your linksoftware MIGHT set a cookie, I think there must be a 404 somewhere -- perhaps even just favicon.ico which would be grabbed by your link script.

Since your rule sends every non existent file request to your link script, if any css, favicon.ico, image, background, etc is missing, you'll get 1 hit to your link directory, and, if the link directory sets a cookie, you're going to set a cookie when someone loads that page.

I am getting a straight 404 when I try to view your favicon.ico, which is possibly what Firefox triggered when it visited the site which prompted the cookie.

As for the save file as, take a look at firebug, its a firefox extension, or liveheaders. I would suspect that you are getting a Content-type: something that is different than what I'm seeing. If it is text/html, then, you have something else wrong somewhere.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
Old 2008-08-05, 01:37 PM   #14
JohnnyR
I can now put whatever I want in this space :P
 
Join Date: Jun 2005
Location: Boobville... I like it way better here
Posts: 557
Send a message via ICQ to JohnnyR
ok I uploaded a favicon and un-commented that line in htaccess.

any more cookies?
__________________
With sufficient thrust, pigs fly just fine!
JohnnyR is offline   Reply With Quote
Old 2008-08-07, 02:22 AM   #15
ExLust
If something goes wrong at the plant, blame the guy who can't speak English
 
ExLust's Avatar
 
Join Date: Aug 2008
Posts: 39
Works clean here.
__________________

Be A Partner
ExLust is offline   Reply With Quote
Old 2008-08-07, 09:19 AM   #16
digifan
...and since we know an end will come it makes our living so much fun
 
digifan's Avatar
 
Join Date: Aug 2003
Location: In your dreams, baby
Posts: 3,835
Send a message via ICQ to digifan
Works fine at this end, Firefox 2.0.0.16 mac.
__________________

Webair Rocks
digifan is offline   Reply With Quote
Old 2008-08-07, 03:43 PM   #17
raven1083
Just because I don't care doesn't mean I don't understand!
 
Join Date: Aug 2008
Posts: 97
I have been using Fire fox 3 and it work s well with my browser.
__________________
BDSM Movies | BDSM Punishments | Femdom
Spice Cash - BDSM affiliate program
raven1083 is offline   Reply With Quote
Old 2008-08-09, 04:27 AM   #18
bivis
Rock stars ... is there anything they don't know?
 
Join Date: May 2008
Posts: 17
It works fine with FF v.3 and with Opera v.9 also.
__________________
celeb-for-free
bivis is offline   Reply With Quote
Old 2008-08-09, 06:52 AM   #19
JohnnyR
I can now put whatever I want in this space :P
 
Join Date: Jun 2005
Location: Boobville... I like it way better here
Posts: 557
Send a message via ICQ to JohnnyR
Thanks guys, you've been very helpful. It's all sorted out now from what I can see

thanks again
__________________
With sufficient thrust, pigs fly just fine!
JohnnyR is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:06 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc