WAMP installation with Ampache 3.8.6-release 403 errors

218 views
Skip to first unread message

Aleric Nielson

unread,
May 20, 2018, 9:55:08 PM5/20/18
to Ampache
Hi all, 
Just joined last night as I could not find much supporting documentation on a problem I'm having. 

As the Subject eludes to, this is regarding a WAMP installation with Ampache 3.8.6-release which is working great on localhost where it is installed, but every time I try to connect from another machine all I get is a 403 error. 

I am going to http://IP/ampache/index.php, inside my network via a laptop and by my cell phone by turning off wifi and using the tower data. Both get the same result. IP is replaced of course by internal IP of 10.0.0.80 for the laptop and using the external IP address on the smartphone, which I won't share until after I do some more pen testing. I have confirmed 

Forbidden
You don't have permission to access /ampache/index.php on this server.
Apache/2.4.33 (Win32) PHP/5.6.35 Server at xx.xx.xx.xx Port 80

I assumed this was ACL related but I'm seeing ACLs set in Ampache that show Defaultv4 Start Address 0.0.0.0 and End Address 255.255.255.255 set for ALL for both Level and User for Local Network Definition, Stream Access and API/RPC

I also looked at httpd.conf in C:\wamp\bin\apache\apache2.4.33\conf for issues with httpd.conf but only have seen advise from Bolt and other projects people were working on so I'm not sure what to make of those. I have attached that file and have messed with "AllowOverride All" and "Require all granted" in an attempt to see if modifying those would help. It did not. I saved config after making changes and restarted all WMAP services and tried it again. Went back to what I have attached, which is the original when it didn't change anything. 

"LoadModule rewrite_module modules/mod_rewrite.so" is un-commented so I assume it's getting loaded. 

There are like 15 results when I search for htaccess or I would add that as well when I search the WAMP directory. Not sure which one to include. 

I have a Catalog already made and playing music locally and totally enjoying it, thought I was only minutes away from having it working after adding a Port Forwarding rule to my router and confirming with a website https://pentest-tools.com/network-vulnerability-scanning/tcp-port-scanner-online-nmap that it could see my website externally, too much correct info to be wrong, but browsers are being stopped dead in their tracks with this 403 error. 

Any assistance would be appreciated. Thank you in advance. 

Aleric Nielson

.
httpd.conf

Ernie D

unread,
May 20, 2018, 10:32:24 PM5/20/18
to amp...@googlegroups.com
I assumed this was ACL related but I'm seeing ACLs set in Ampache that show Defaultv4 Start Address 0.0.0.0 and End Address 255.255.255.255 set for ALL for both Level and User for Local Network Definition, Stream Access and API/RPC
For "Local Network Definition"? This is not necessary.

There should be an ACL named "
Defaultv4" for type "web interface". The "web interface" ACL should have been in the ACL list upon installation.

Both "web interface" and "stream access" ACLs are both required for a remote client to play music on the web player.


73 From  AA1AD
Ernie D
Federal Way, WA | CN87ug
--
You received this message because you are subscribed to the Google Groups "Ampache" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ampache+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ampache/8ec8977e-dca1-44fd-aeea-49d80fe78c46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted

Aleric Nielson

unread,
May 20, 2018, 11:46:19 PM5/20/18
to Ampache
I found out that it was the httpd-vhosts.conf file in C:\wamp\bin\apache\apache2.4.33\conf\extra.

I was able to get to the http://localhost/phpmyadmin page before to change the root user's password. I had not tried just localhost to see the "Server Configuration" page. 

"Require local" was changed to "Require all granted"

Used this as my fix for it https://www.digifloor.com/simple-steps-fix-403-forbidden-errors-wamp-server-28

Thanks a lot for your response Ernie. 
Reply all
Reply to author
Forward
0 new messages