Comments (3)
can you show me your .htaccess and apache vhost config?
from pictshare.
.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">
from pictshare.
rewrite looks ok but it's probably easier for you to use the docker container
from pictshare.
Related Issues (20)
- how to customize allow file types ? HOT 1
- Image corruption
- Possible XSS vulnerability HOT 7
- Automatic WebP HOT 1
- Cannot find my uploaded images on my FTP server HOT 4
- can i integrate this as api with nodejs or python? HOT 1
- FeatureRequest: SVG hosting HOT 2
- CORS issue when uploading via browser HOT 5
- Support for other FileTypes ? HOT 1
- S3 backup is broken: Call to undefined function is_defined() HOT 1
- [Q/discussion] DDOS possibility HOT 6
- file not found HOT 4
- Retention policy feature HOT 1
- Make the API respond with the Content-Type: application/json
- Reason: Unsupported filetype: x-matroska HOT 5
- Restricting uploading (password protection?) HOT 1
- AVIF support
- Fork me on GitHub img reference is dead
- Upload forbidden error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pictshare.