New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

a problem with my website and ONE Mac user


Post Reply New Thread Subscribe

 
Thread Tools
sas-sr

 
Member Since: Jan 21, 2009
Posts: 1
sas-sr is on a distinguished road

sas-sr is offline
Hello from France ;-)

Now that you know that I'm French, you'll understand my (from time to time) strange English.

I'm running a webiste (this website is helping the readers of a book I wrote (in French) about SAS). Some of my files are in a folder you can only access by clicking on some links given by the website. I did this to prevent bandwidth theft and I'm using a .htaccess file to do the job.

This .htaccess file is doing a perfect job for 99.9% of my users. The remaining 0.1% user is a mac user and I would like to understand (and cure) the problem.

When this users is clicking on one of my links, he’s directed on the htm file telling him “you’re not allowed to access to this file from another website than mine” .

I tried to see if this problem is mac related or not and contact various mac users on a French forum to see if they’re having the some problem. None of them reproduce the bug.

Let’s see if one of you can have the same problem!

I created here a very simple html file with a link to a file protected by my .htaccess :

Document sans nom

the link will drive you (normally) to a file inside a mac2 folder. The “mac2” folder is inside a “maceng” folder and the .htaccess file is inside the “maceng” folder. Normally, the htaccess is acting on the files inside the subfolders.

My htaccess file is this one :
Code:
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_REFERER} !^http://www\.sas-sr\.com/ [NC]
RewriteRule ^.*$ http://www.sas-sr.com/pbeng.html [R=301,L]
My user is running two computers : a Quad G5 and MBPro Intel
on both computer: Mac OS X 10.5.6,
He tried to access to the files with opera, firefox, safari – whatever the browser, whatever the computer, the result is the same.

Any idea ?

Best regards

Sébastien
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
This is a shot in the dark. I'm thinking the problem isn't on your site, but on his end or path to your site. I'd ask if his network setup is going through any proxy servers.

I tried your test on both Safari 3.2.1 and OmniWeb 5.8 under OS X 10.5.5 and did not receive the error.

CameraTime - Time lapse photography for novice and advanced users.

When asking questions, post the version of your software. You'll receive better answers.

Please post your results to the thread as it is good feedback.
QUOTE Thanks
louishen

 
louishen's Avatar
 
Member Since: Oct 22, 2007
Location: London
Posts: 8,947
louishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant futurelouishen has a brilliant future
Mac Specs: Mac Mini Core i7 2012 | White 2009 MacBook 2 Ghz | 733 Mhz G4 Quicksilver

louishen is offline
no problem here

Member of the Month September 2008 & August 2012 | Found advice useful? – use the rep system
QUOTE Thanks
bobtomay

 
bobtomay's Avatar
 
Member Since: Dec 22, 2006
Location: Texas, where else?
Posts: 25,117
bobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond reputebobtomay has a reputation beyond repute
Mac Specs: 15" MBP 2.33 C2D 256 4GB, MBA 13" i7 1.8, MB 2.0 2GB, Nano 4th, 3GS, iPad 1

bobtomay is offline
No problem on Safari or Opera here both under 10.5.6.

I cannot be held responsible for the things that come out of my mouth.
In the Windows world, most everything folks don't understand is called a virus.
QUOTE Thanks

Post Reply New Thread Subscribe


« Free Flash+Flex+AS3 Live Classes | Text looks different in browsers than in dreamweaver »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

All times are GMT -4. The time now is 09:17 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?