mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2026-04-26 23:45:52 +03:00
[GH-ISSUE #132] Not Found #103
Labels
No labels
Feature request
Feature request
bug
cant reproduce
enhancement
help wanted
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pictshare#103
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Blisk on GitHub (Sep 30, 2021).
Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/132
I have installed pictshare on my server all is default I can upload picture I can see it on server but when I click link I get
Not Found
The requested URL /r4mhm4.jpg was not found on this server.
I have checked apache settings 5 times and all is ok and settings are below. What can be wrong?
@geek-at commented on GitHub (Oct 1, 2021):
can you show me your .htaccess and apache vhost config?
@Blisk commented on GitHub (Oct 1, 2021):
.httaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?url=$1 [QSA,PT,L]
and vhost config
<VirtualHost *:80>
DocumentRoot /var/www/pictshare/
ServerName photobin.mydomain.net
#ServerAlias photobin.mydomain.net
ServerPath /var/www/pictshare
ErrorLog "logs/pictshare.mydomain.net.error_log"
CustomLog "logs/pictshare.mydomain.net.access_log" combined
<Directory "/var/www/pictshare">
Order allow,deny
Allow from all
Alias /pictshare "/var/www/pictshare"
<Directory "/var/www/pictshare">
@geek-at commented on GitHub (Nov 24, 2021):
rewrite looks ok but it's probably easier for you to use the docker container