Tag Info

Hot answers tagged

2

You might be able to do an strace to dump all running Apache processes to a file and then once the spam goes out, see if you can track down what was going on (such as by saving frequent dumps of server-status using mod_status if it's not obvious from the strace by looking at file paths). You could try something like the following - though note it may be ...


1

There are a number of factors that could be contributing to this: DNS Lookup (how fast the DNS servers respond to your VPS) Network latency from your server out to the internet (how many ms it takes for a request to get through the network stack to the outside world) Distance latency between your VPS and the remote website (how long it takes for your ...


1

This is possible. On Apache web server, you need to store all the files on a default virtual host so it can be accessed as http://IP_ADDRESS:PORT/hostname/path/ On Nginx server create multiple virtual hosts & add a proy_pass rule like below. A.com -> / will proxy forward to /a-com/ B.com -> / will proxy forward to /b-com/ C.com -> / will proxy forward ...


1

If example.com/upgrade.html is on the same server, you need to add a check to make sure not to do the redirect if the user is already on the upgrade.html URL (such as after having been redirected to it). Try this instead (the second line is what I added): RewriteEngine On RewriteCond %{REQUEST_URI} !^/upgrade.html$ RewriteCond %{HTTP_USER_AGENT} "MSIE\ ...


1

Newer PHP install is looking for ap_unixd_config, but Apache 2.2 still calls it unixd_config. You can downgrade your PHP or, more preferably, upgrade to Apache 2.4.


1

Looks like MySQL connectivity issue. Is there a chance that you MediaWiki settings refer to the MySQL server using address other than 'localhost'?


1

Since you said you are using 3rd party repos, I'm pretty sure what happened was a background yum update ran and updated the imagemagik rpm and removed the library the php module was linked against. So when you re-installed via pecl it found the new library and re-linked. If you run the following command over the module you will see the new library will be ...


1

I had success with adding this to the "Additional parameters for <VirtualHost>" CustomLog "/Applications/MAMP/logs/mySiteName_access.log" combined


1

This was a gotcha for me, but according to the documentation for mod_dav: "The directory containing the lock database file must be writable by the User and Group under which Apache is running." You have to make sure you have proper permissions on both the DAV lock DB file and the directory containing it. In my fresh installation, the /var/www/ directory ...


1

Use try files There is no need to use the rewrite module for most of that config. The apache rewrite rules mean: RewriteRule ^$ app/ [L] - send the url / to the app dir RewriteCond %{REQUEST_FILENAME} !-d - if the request is not a dir RewriteCond %{REQUEST_FILENAME} !-f - if the request is not a file RewriteCond %{REQUEST_FILENAME} !-l - if the ...


1

I've just been struggling with this myself. Isn't ePages fun? There a number of ways in which the ePages Apache configuration differs from a more "normal" site. 1. It rewrites most of the config files every time the ePages service restarts. Anything with a "zzz" prefix (which is most of the files in conf.d) will be rewritten, so don't bother editing those ...



Only top voted, non community-wiki answers of a minimum length are eligible