Download Link give 404 Error

xaver19862687

New Member
YetiShare User
Jun 27, 2013
35
0
0
Hi there,

i upload an File (~2MB and he generate an Link ala: http://195.5.121.117/file-share/a743c27e43e102e8)
But how you can see there comes an 404 Error.

Whats with this Error?
Greetz Xaver

PS: This is not an Live System
Live System has the Same Error
 

adam

Administrator
Staff member
Dec 5, 2009
2,046
108
63
Hi,

Did you upload the .htaccess?

Regards,
Adam.
 

adam

Administrator
Staff member
Dec 5, 2009
2,046
108
63
Ok, then you probably don't have mod_rewrite enabled. This link on your site should also work:

http://195.5.121.117/file-share/register.html
 

xaver19862687

New Member
YetiShare User
Jun 27, 2013
35
0
0
so i have put 2 options now to enable mod_rewrite

1.
Code:
ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-available/
[/code]

2.
Code:
a2enmod rewrite
both are not working?!
 

adam

Administrator
Staff member
Dec 5, 2009
2,046
108
63
Ah you might also want to update the RewriteBase in the .htaccess file since you're installing in a sub-directory. Edit the file from this:

RewriteBase /

to this

RewriteBase /file-share/
 

xaver19862687

New Member
YetiShare User
Jun 27, 2013
35
0
0
also not working

Code:
#RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
#RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

RewriteEngine On
#RewriteRule . - [E=no-gzip]
RewriteBase /file-share/
RewriteCond %{REQUEST_URI} ^(.+)\~s$
I´m running here on an fresh install of
Debian Squeeze
Hosted by Alvotech
 

adam

Administrator
Staff member
Dec 5, 2009
2,046
108
63
It's generally one of the issues I've mentioned. I'd do some more checks to make sure mod rewrite is installed correctly.
 

xaver19862687

New Member
YetiShare User
Jun 27, 2013
35
0
0
i have you send in an PM an Link to my PHPinfo

Loaded Modules shows "mod_rewrite" so it should be enabled/loaded or?
 

adam

Administrator
Staff member
Dec 5, 2009
2,046
108
63
Try setting up a test .htaccess like this:

http://www.vbseo.com/f77/how-check-if-mod_rewrite-working-my-site-21502/
 

xaver19862687

New Member
YetiShare User
Jun 27, 2013
35
0
0
Nothing
it directs not to google....

i dont understand how this is possible?! mod_rewrite should be working i mean i have loaded it and it is in the right folder...so why?