apache
httpd-xampp.conf: How to allow access to an external IP besides localhost?
allow from all will not work along with Require local. Instead, try Require ip xxx.xxx.xxx.xx For Example: # New XAMPP security concept # <LocationMatch “^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))”> Require local Require ip 10.0.0.1 ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </LocationMatch>
AllowOverride not allowed here
It’s because you have to put it in <Directory> directive.’ .htaccess is per directory context, so you have to explicitly tell apache where .htaccess is allowed to be used. <VirtualHost *:80> DocumentRoot /var/www/html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined Options Includes <Directory “/var/www/html”> AllowOverride All </Directory> </VirtualHost>
Exclude an alias from virtualhost proxypass
This is how I was able to achive the desired outcome. Following is the working configuration where ProxyPassMatch ^/myapp ! did the trick and except the (server-address)/myapp, all the requests are being proxying to the other server which is open-erp running at port 8069: <VirtualHost *:80> ServerName test.myserver.com Alias /myapp /var/www/myapp <Directory /var/www/myapp> Options Indexes … Read more
Login disallowed for security reasons postgresql centos server
1). Open -> /etc/phppgadmin -> config.inc.php 2). change $conf[‘extra_login_security’] = true; to $conf[‘extra_login_security’] = false; // If extra login security is true, then logins via phpPgAdmin with no // password or certain usernames (pgsql, postgres, root, administrator) // will be denied. Only set this false once you have read the FAQ and // understand how … Read more
Alias 403 Forbidden with Apache
If you’re using apache 2.4 Order allow,denyAllow from all becomes… Require all granted https://httpd.apache.org/docs/2.4/upgrading.html
“End of script output before headers” error in Apache
Check file permissions. I had exactly the same error on a Linux machine with the wrong permissions set. chmod 755 myfile.pl solved the problem.