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

lbmethod_heartbeat:notice – No slotmem from mod_heartmonitor –error after installing apache2.4.2 [closed]

On starting the webserver the error_log shows apache configuration: I am getting Forbidden You don’t have permission to access / on this server error This is the error generated in error_log is this error because of lbmethod_heartbeat:notice ?? or there is a permissions misconfiguration on DocumentRoot directory?? but the directive’s configuration is taken from a … Read more

Apache is downloading php files instead of displaying them

The correct AddType for php is application/x-httpd-php Also make sure your php module is loaded When you’re configuring apache then try to view the page from another browser – I’ve had days when chrome stubbornly caches the result and it keeps downloading the source code while in another browser it’s just fine.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)