Trying to setup a fresh install of ubuntu 22.04 with the ability to use the GET and PUT method.
I am trying to backup some Avaya phones to the server but I keep getting 405 errors when attempting to PUT.
I created a directory in the /var/www/html/PhoneBackup as well and gave it 777 permissions just to be sure it was not a permission issue as well.
Error
"PUT /PhoneBackup/10010_96xxdata.txt HTTP/1.1" 405 521 "-" "AVAYA/SPICE/v6.8+(9608)/Std/05"
I have tried various articles to no avail.
I was told this would work but unable to get it to work so far.
Add this to the config in /etc/apache2/sites-available/default-ssl.conf
<Location /var/www/html/PhoneBackup>
AllowMethods GET PUT
</Location>
then run the command
a2enmod allowmethods
This alone does not seem to work for me.
Any suggestions on how I can get PUT to work on a fresh ubuntu 22.04 working would be apprecaiated.
Related
I can't seem to get an asp site to run with ISPCONFIG3 at all. I am getting errors in the apache error.log like this:
Not running mod-mono-server.exe because no MonoApplications, MonoApplicationsConfigFile or MonoApplicationConfigDir specified.
Failed to connect to mod-mono-server after several attempts to spawn the process.
I think it has to do with my configuration somehow but I can't seem to figure out where. Thoughts?
Encountered this error today after installing apache2, mod-mono, etc in Ubuntu 19.04 on my laptop. Having just done it successfully on an AWS instance running Ubuntu 18.04, I was surprised that it didn't work here. By trial and error tweaking the mono-server config, apache2 config, the ASP.NET web app folder (with a simple index.aspx in it), and looking at the apache2 error logs after each change (after stopping/restarting apache2 each time!), I discovered that, in my case at least, this error was caused by the absence of a web.config file in the web app root folder; as soon as I created a simple skeleton web.config file, this error message went away.
Worth noting in passing is that the error message contains a typo: there should be an "s" for "Applications" in the keyword MonoApplicationConfigDir, like the other two keywords have. One of the things I tried was to alter the MonoApplicationsConfigDir statement that was present by default in my mono-server4-hosts.conf file by removing the "s" to match the error message, but that generated a different, fatal error that prevented apache2 from starting: systemctl status apache2.service showed "Invalid command 'MonoApplicationConfigDir'".
I have installed lampp server on Linux Mint on my desktop and I have run the script to secure the lampp server with success.
Everything is fine and I can access my sites from the home network specifically from my laptop using Windows 7 using http://192.168.1.2/site.
However I can also access the lampp pages http://192.168.1.2/xampp from my laptop although I should't. It should ask me for the login details.
Any ideas?
Thanks in advance.
Finally found what the problem was.
In /opt/lampp/etc/extra/httpd-xampp-conf file I had put Require all granted instead of Allow from all.
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
Allow from all
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
I have stuck in a problem and have been trying to resolve it for last five days but could not get success up till now. Please help me out...
I have moved all the files and database one of my magento's project from my PC (running windows 7) to laptop (running Ubuntu 14.04 LTS).
- I installed xampp and import the database (Successfully imported)
- Made a virtual host (running fine)
- But as soon as moved my project files in vitualhost folder, it continuously redirecting to http://mylocalhost.local/downloader and throwing "Access Forbidden ERROR 403".
System.log of my magento's project is full of such type of errors
Warning:implexml_load_string():in E:\virtualhosts\myproject\app\code\core\Mage\Core\Model\Layout\Update.php on line 444
Please help me out...
please check the files under www/yourDomain.com/public:
1. permissions of files. should be : 0755
2. group of files : www-data
and then restart apache:
sudo service apache2 restart
I have installed nagios successfully on fedora 17. but when I am trying to connect to nagios like http://mylocalhost.com/nagios. It asks for username and password. After putting these information I am found out forbidden 403 error with message , You dont have permission to access /nagios/ on this server.
I am bit confused how to resolve this issue. I read some post. they were saying to create empty index.html inside http root directory. i tried but same error is there.
http://www.unixmen.com/nagios-http-warning-http11-403-forbidden-solved/
If I am not wrong http root directory is /var/www/html?
oops ... sorry it was problem with my httpd service which was running actually but not accessible for publicly.
simply I flushed out iptables. then Checked out httpd service whether it is running properly or not.
Now its working great.
I think you create file index.html in /var/www/html.
After you can restart service nagios and httpd
I have setup new server with following configuration.
Windows Server 2003 with IIS 6 / PHP 5.2.17 / MySQL 5.0.51a / PhpMyAdmin 3.5.6
PHP working fine as phpinfo is displaying fine in browser.
MySQL is installed properly.
But PhpMyAdmin 3.5.6 gives HTTP Error 403 when try to access it in browser by following way.
http://localhost/phpmyadmin356
OR
http://192.168.11.22/phpmyadmin356
phpmyadmin356 folder is under inetput >> wwwroot.
Please help me to resolve this issue.
I went through this guide. http://dpotter.net/technical/2009/03/installing-phpmyadmin-on-windows-and-iis-60/
Thank you,
Probably your permissions aren't set correctly for the phpmyadmin356 directory and/or files within that folder. You probably need, at a minimum, read permissions for IUSR and IIS_USERS.