Developing an API using laravel.
Getting 403 Forbidden on PUT request.
Works on a remote server but not locally. Using MAMP for the local server.
Here is my virtual host, I don't see anything off.
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot "/Users/dg/Documents/Websites/domain.com/public_html/dev/public_html"
ServerName domain.local
ServerAlias www.domain.local
<Directory />
Options Indexes FollowSymLinks
AllowOverride All
</Directory>
ErrorLog "/Users/dg/Documents/Websites/domain.com/public_html/dev/error_log"
CustomLog "/Users/dg/Documents/Websites/domain.com/public_html/dev/access_log" common
</VirtualHost>
I've looked at other similar questions on SO but no solution yet.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…