Configuring Apache for localhost

/xxx/xxxx also needs to be readable by www-data in order to work as document root. You’ll also need the permissions defined in a directory block. Or set your DocumentRoot /xxx/xxxx/Web

org.apache.jasper.JasperException

when i open first time website its show error like this but if i refresh then site will open perfectly but if u leave idle sometime then if u open next then also same error after that if u refresh then site open perfect this is the problem, its applying in entire application in any … Read more

Node.js MySQL – Error: connect ECONNREFUSED

I use Node.js server side. I tried my code on localhost and everything works fine. I bought a server and installed Apache and node.js on it and test my web application there. I correctly changed the MySQL connection configurations from localhost to the server configurations. I test my web application with this configuration: I start … Read more

How do I change the default index page in Apache?

I recommend using .htaccess. You only need to add: or whatever page name you want to have for it. EDIT: basic htaccess tutorial. 1) Create .htaccess file in the directory where you want to change the index file. no extension . in front, to ensure it is a “hidden” file Enter the line above in there. There will likely … Read more

XAMPP installation on Win 8.1 with UAC Warning

There are two things you need to check: Ensure that your user account has administrator privilege. Disable UAC (User Account Control) as it restricts certain administrative function needed to run a web server. To ensure that your user account has administrator privilege, run lusrmgr.msc from the Windows Start > Run menu to bring up the Local Users and … Read more

Apache server keeps crashing, “caught SIGTERM, shutting down”

SIGTERM is used to restart Apache (provided that it’s setup in init to auto-restart): http://httpd.apache.org/docs/2.2/stopping.html The entries you see in the logs are almost certainly there because your provider used SIGTERM for that purpose. If it’s truly crashing, not even serving static content, then that sounds like some sort of a thread/connection exhaustion issue. Perhaps … Read more