Jump to content
43oh

Downloads folder inaccessible - 404


Recommended Posts

I asked this in the Opencart forums too, but looks like I mis-configured something. Unable to solve it yet. Thought I'd ask you guys for input too.
 
 
I have the latest Opencart version - 2.0.1.1
 
Visitors are unable to download a file from the below link, although it is present:
 
However the same file can be downloaded from elsewhere in the folder structure, but not the same sub-domain:
 
Both folders are 775.
 
My .htaccess probably?
 
Options +FollowSymlinks


# Prevent Directoy listing 
Options -Indexes


# Prevent Direct Access to files
<FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))">
 Order deny,allow
 Deny from all
</FilesMatch>


# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/ 


RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^download/(.*) /index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

This line?

RewriteRule ^download/(.*) /index.php?route=error/not_found [L]

I  tried removing it out, but the problem still persists. Do I have to restart apache if a change is made to .htaccess?

 

Link to post
Share on other sites

You probably know this but those two links are not the same.

 

http://store.43oh.com/download/uploads/SDCardBoosterpack/code/Energia/SDCardTutorialWithEnergia.zip

 

http://43oh.com/wp-content/uploads/ads/SDCardTutorialWithEnergia.zip

 

I recognize the second link is as one that points directly to the file in the wordpress file structure.

 

The first link is convoluted. Is it supposed to be a symbolic link to the wordpress file structure?

 

If it is a symbolic link then you may have a mismatch on the ownership of the file structure. Are all your files owned by the user www-data (or whoever the apache user is)?

Link to post
Share on other sites

Normally, you do not have to restart apache after editing .htaccess.

 

You usually have to refresh the cache in your browser though.

 

That said, it can't hurt to restart apache though. It's quick and painless. Usually.

Link to post
Share on other sites

Normally, you do not have to restart apache after editing .htaccess.

 

You usually have to refresh the cache in your browser though.

 

That said, it can't hurt to restart apache though. It's quick and painless. Usually.

Thanks zeke. I removed the line 

RewriteRule ^download/(.*) /index.php?route=error/not_found [L]

Restarted apache( one line anyway ), cleared cache. It's working now. :)

Thanks for lending a hand.

Link to post
Share on other sites
  • 6 years later...

Zack Snyder's Justice League stream - https://zacksnydersjusticeleaguefull.medium.com/movie-2021-zack-snyders-justice-league-hd-stream-full-online-free-english-ml-3e982c5b57f1
Zack Snyder's Justice League stream French Mirror - https://www.getrevue.co/profile/JusticeLeagueStreamingVF
Justice League 2021 stream Mirror 2 - https://www.deviantart.com/kiyeanvaska/art/Zack-Snyder-s-Justice-League-full-movie-watch-873101310
Zack Snyder's Justice League online Mirror 3 - https://www.bitchute.com/video/mHZHdYCxWnuP/


Zach Snyder's director's cut of Justice League, in which Darkseid is the main antagonist.

Zack Snyder's Justice League watch full cinemas stream
Justice League 2021 where i can watch hd cinemas streaming
Justice League 2021 where i can watch Subtitles movies streaming
Zack Snyder's Justice League how to watch streaming movies
Zack Snyder's Justice League how to watch hollywood movies stream
Zack Snyder's Justice League watch cinemas stream tv
Justice League 2021 where i can watch movies streaming no torrent
Zack Snyder's Justice League where can i where i can watch cinemas stream
Justice League 2021 complet cinema torrent
Justice League 2021 torrent full movie
Justice League 2021 full cinema torrent full free
Justice League 2021 free complet cinema download

Link to post
Share on other sites

Zack Snyder's Justice League online - https://zacksnydersjusticeleaguefull.medium.com/movie-2021-zack-snyders-justice-league-hd-stream-full-online-free-english-ml-3e982c5b57f1
Justice League 2021 online French Mirror - https://www.getrevue.co/profile/JusticeLeagueStreamingVF
Zack Snyder's Justice League stream Mirror 2 - https://www.deviantart.com/kiyeanvaska/art/Zack-Snyder-s-Justice-League-full-movie-watch-873101310
Justice League 2021 stream Mirror 3 - https://www.bitchute.com/video/mHZHdYCxWnuP/


Zach Snyder's director's cut of Justice League, in which Darkseid is the main antagonist.

Justice League 2021 where i can watch complet movies streaming
Zack Snyder's Justice League where i can watch hd movies stream
Justice League 2021 watch Subtitles cinemas stream
Justice League 2021 watch stream cinemas
Justice League 2021 how to watch hollywood cinemas streaming
Zack Snyder's Justice League where i can watch movies stream tv
Zack Snyder's Justice League watch cinemas online no torrent
Zack Snyder's Justice League where can i where i can watch cinemas stream
Zack Snyder's Justice League complet movie download
Zack Snyder's Justice League torrent full cinema
Justice League 2021 full cinema torrent free
Zack Snyder's Justice League full free complet cinema torrent

Link to post
Share on other sites

Godzilla vs Kong Trailer, Review, Full Movie MultiLanguage (English and (ML Subtitles), Français, Português, Español , Deutsch)

Godzilla vs. Kong (English and (ML Subtitles))
https://www.bitchute.com/video/gF5IA6VYKGy2/
https://www.deviantart.com/pasharuslanov73/art/Watch-Godzilla-vs-Kong-online-free-English-movie-874105751
https://godzillavskongwatchonline.medium.com/movie-2021-godzilla-vs-kong-hd-stream-full-online-free-english-ml-subtitles-6dcaaae3e75c
https://godzillavskongwatchonlinefree.peatix.com/
https://www.getrevue.co/profile/GodzillavsKongWatchOnlineFree
https://www.geogebra.org/m/gkvqbkz8
https://www.thebostoncalendar.com/user/48786

Godzilla vs. Kong Français
https://www.bitchute.com/video/5p1jpnJzPbGd/
https://www.deviantart.com/godzillavskongstream/art/Godzilla-vs-Kong-Film-Streaming-VF-Regarder-Online-874094597
https://godzillavskongstreamingvf2021.medium.com/godzilla-vs-kong-2021-streaming-f-i-l-m-complet-online-gratuit-vf-a6a2ba078930
https://godzillavskongstreamingvf.peatix.com/
https://www.geogebra.org/m/jszparkk
https://www.thebostoncalendar.com/user/48699
https://magicseaweed.com/User/Profile/1619817/

Godzilla vs. Kong Spanish
https://www.bitchute.com/video/hnr6QieZlJKP/
https://www.deviantart.com/regina022525/art/Ver-Godzilla-vs-Kong-pelicula-online-completas-HD-874089302
https://godzillavskongveronline.medium.com/hd-godzilla-vs-kong-2021-ver-hd-p-e-l-i-c-u-l-a-completas-online-gratis-latino-espa%C3%B1ol-285020732e9d
https://godzillavskongveronlinegratis.peatix.com/
https://godzillavskongveronline.tumblr.com/
https://www.getrevue.co/profile/GodzillavsKongverOnline
https://www.geogebra.org/m/y7npwxfr
https://www.thebostoncalendar.com/user/48641

Godzilla vs Kong Português
https://godzillavskongfilmeonline.medium.com/hd-godzilla-vs-kong-ver-hd-filme-online-gratis-portugu%C3%AAs-b367044bac1e
https://www.geogebra.org/m/j5bqdzv4
https://www.thebostoncalendar.com/user/48791
https://www.bitchute.com/video/82G3k6Fckxje/
https://www.deviantart.com/vera431088/art/Godzilla-vs-Kong-assistir-filme-online-legendado-874030190
https://godzillavskongfilmeonline.tumblr.com/
https://www.getrevue.co/profile/GodzillavsKongFilmeOnline

Godzilla vs Kong Deutsch
https://www.bitchute.com/video/4foJwuS78H0p/
https://www.deviantart.com/egorbocharov87/art/Godzilla-vs-Kong-ganzer-film-deutsch-stream-online-874100503
https://godzillavskongstreamdeutsch.medium.com/stream-hd-godzilla-vs-kong-2021-f-i-l-m-deutsch-online-kostenlose-komplett-a3d27ca767c7
https://godzillavskongfilmestreamonline.peatix.com/
https://godzillavskongstreamgerman.tumblr.com/
https://www.getrevue.co/profile/GodzillavsKongStreamGerman
https://www.geogebra.org/m/uvuegute
https://www.thebostoncalendar.com/user/48747

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...