Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Prompted for User/Pass in Media Manager

Prompted for User/Pass in Media Manager

Locked

Views: 1,025

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
11 Dec 2009, 8:17 AM
#1
santostrid avatar

santostrid

New Zenner

Join Date:
Jun 2009
Location:
NYC
Posts:
5
Plugin Contributions:
0

Prompted for User/Pass in Media Manager

gong

Most respect to the great Zen forum.

I've been trying to load the media manager multiple times, and every time I tried to access the file, I keep being prompted for the password to access the folder logs, when the URL clearly doesnt point to the logs folder...

I have been trying to solve this with my host and isp (1and1/optimum) for a week with their best answer being "restart the modem" *sigh

I've tried the link with different DNS, ISP, locations, and browsers with no luck.

here's the screenshot and the link to the file ...
http://whosehaus.com/Markku_Stuff/Picture_5.jpg

http://www.whosehaus.com/digistore/media/WH006_bueno.mp3

Please anyone, someone... help? :sadwalk:
I think it could be something simple that I overlooked.

thank you...

11 Dec 2009, 12:53 PM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Prompted for User/Pass in Media Manager

santostrid:

I've been trying to load the media manager multiple times,
<snip>
http://www.whosehaus.com/digistore/media/WH006_bueno.mp3

Just to clarify, are you having a problem loading the media manager or the media files ?

If it is the media files (as indicated by the link), then the access error is normal and expected. Files in this directory are protected by the .htaccess file.

If you are having the problem with the media manager (via the admin control panel) then you do indeed have a problem.

Please clarify your situation.

Cheers
Rod

11 Dec 2009, 2:08 PM
#3
santostrid avatar

santostrid

New Zenner

Join Date:
Jun 2009
Location:
NYC
Posts:
5
Plugin Contributions:
0

Re: Prompted for User/Pass in Media Manager

Ahh... that makes sense...

it Is the media files. So what should I do now? should I delete it?

but if so, how come 1and1's tech support was able to access it through their local isp in the phillipines? Shouldn't it be restricted for all?

thanks Rod... the fog is thinning ... :yes:

Strid

11 Dec 2009, 2:25 PM
#4
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Prompted for User/Pass in Media Manager

santostrid:

Ahh... that makes sense...
it Is the media files. So what should I do now? should I delete it?

Delete what? the .mp3 file or the .htaccess file?

I'm not sure what you are actually trying to do.

santostrid:

but if so, how come 1and1's tech support was able to access it through their local isp in the phillipines? Shouldn't it be restricted for all?

The .htaccess file only restricts access by a web browser, the tech support probably accessed it via FTP (with a "super user" account)
Just guessing.

Cheers
Rod

11 Dec 2009, 3:09 PM
#5
santostrid avatar

santostrid

New Zenner

Join Date:
Jun 2009
Location:
NYC
Posts:
5
Plugin Contributions:
0

Re: Prompted for User/Pass in Media Manager

Hi Rod...

I meant, should I delete the .htaccess file in the 'media' folder?

I'm trying to work the media manager... the player itself is loading (i tried both the traditional way, as well as the flash mod), but the mp3 files wont play.
With the default MM, it'll show the name of the file, but then when i click it, it'd take me to the page with the login ...
With the flash, it'll just show the player, with no mp3...
What should I do so that it'll play?

the tech support probably accessed it via FTP (with a "super user" account)
That's what I said, but then they sent me the screenshots of them opening/saving the mp3 file from the above link...
:dontgetit

11 Dec 2009, 4:12 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Prompted for User/Pass in Media Manager

What is the content of your /media/.htaccess file?

11 Dec 2009, 5:52 PM
#7
santostrid avatar

santostrid

New Zenner

Join Date:
Jun 2009
Location:
NYC
Posts:
5
Plugin Contributions:
0

Re: Prompted for User/Pass in Media Manager

i don't know the first thing about .htaccess files, so i think in the beginning, I just copied and pasted from somewhere...

Below is the content and *** I put in place of personal infos...

Can you show me what's the right content should be?

Options +Indexes
Satisfy any
Order Deny,Allow
Deny from all
RemoveType .html .gif .mp3
AuthType Basic
AuthName "Access for /logs"
AuthUserFile /***** /htpasswd
require user ******

Getting closer, I feel :) woohoo...thank you!

11 Dec 2009, 8:45 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Prompted for User/Pass in Media Manager

I'm not sure why you've got a .htaccess file in your /media/ folder in the first place. Zen Cart doesn't include one because it's not needed.

And, since you've got AuthXXXX and Require XXXX statements in it, it's going to prompt you for a valid login if you attempt to access any files in that folder ... and that's counter-productive if you want people to be able to access those media files, such as you described initially.

So ... I recommend that you just delete the /media/.htaccess file unless you have a concrete reason for adding it.

11 Dec 2009, 11:58 PM
#9
santostrid avatar

santostrid

New Zenner

Join Date:
Jun 2009
Location:
NYC
Posts:
5
Plugin Contributions:
0

Re: Prompted for User/Pass in Media Manager

Makes perfect sense...

And IT'S WORKING!!!!! thank you thank you thank you thank you....:jump:

the .htaccess file was invisible as well, so i would never thought of it being a problem... so Phewwwwww.... Thank you again, Doc and Rob...

Strid

12 Dec 2009, 3:16 AM
#10
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Prompted for User/Pass in Media Manager

santostrid:

Hi Rod...
I meant, should I delete the .htaccess file in the 'media' folder?

I see DrByte has already steered you in the right direction (while I was sleeping). I too was wondering why you had a .htaccess file in that directory, but figured you'd put there for a reason.

I was also going to point you the FAQ file. If you've not seen it already you may find it worth reading.

Cheers
Rod