WebsiteBaker Support (2.12.x) > General Help & Support
Media shows 403 Forbidden
svsanchez:
Hi Sternchen8875, thank you for your reply.
Since I was getting the 403 error, I started uploading the images via FTP, and then:
1) I renamed the index.php from the /media folder
2) I removed the Directory Indexing from the server, so that I could see the list of all the images and copy > paste them easily
Unfortunately something keeps preventing the directory listing from appearing. I asked my host and they said it seems like WB is preventing the directory from showing it's contents. They told me to check with WB to see if there's some htaccess needed to show the contents of the directory.
This is the content of my /media/index.php by the way:
<?php
// *** This file is generated by WebsiteBaker Ver.2.8.2
// *** Creation date: 2011-11-09T20:06:57+00:00
// *** Do not modify this file manually
// *** WB will rebuild this file from time to time!!
// *************************************************
header('HTTP/1.1 301 Moved Permanently');
header('Location: http://wb282.wdsnet/2.8.x/wb/index.php');
// *************************************************
svsanchez:
Hi again Sternchen8875, I renamed the index file back to index.php.
If I go to https://www.caletaazul.com/admin/media/index.php I get a 403 Forbidden message.
If I go to https://www.caletaazul.com/admin/media/ I can see the admin media section with the upload buttons, but the right pane where the images should appear shows the 403 Forbidden message:
Other than renaming the index.php, I have not made any modifications.
svsanchez:
I forgot to add:
After I upgraded to 2.13.5, I accessed the admin media section and had the exact same problem as with 2.12.2 (403 Forbidden) having uploaded all the new files from the 2.13.5 upgrade package.
sternchen8875:
this is cool..... okay, not for you, sorry
to explain it... the index.php (in every folder under /admin/media) works as folder protection. if WB doesnt found this index.php, it build a new one - but your showed code is the code for other index.php, but not for this in /admin/media
the used link to wdsnet is the old test-domain from Dietmar, the Chief-developer, so there is no risk - (i'll check also the next version WB 2_13_6 for Links like this)
in the attachement the original admin/media/index.php
unzip this file and replace it
svsanchez:
Hi Sternchen8875, thanks a lot for the file which made me realize that I sent the wrong index.php:
I sent the index.php for caletaazul.com/media/index.php which is the one which has the redirect to the old test-domain from Dietmar.
The index.php I have on caletaazul.com/admin/media/index.php apparently is the same (both my index.php and the one you sent start the same and both have 166 lines).
Anyways, I replaced my index.php with the one you sent, but when I click Media on the backend I still get the 403 Forbidden message :cry:
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version