Tag Info

Hot answers tagged

2

From What are the most commonly used and basic Apache htaccess redirects? contributed by bybe: Catch all and redirect non-www to www You should opt to use mod_write for redirecting all requests for non www versions of your site because the $1 varible will catch page names, so example.com/page1/ will automaticly redirect to www.example.com/page1/. ...


1

Change your to From: http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride Only available in <Directory> sections AllowOverride is valid only in <Directory> sections specified without regular expressions, not in <Location>, <DirectoryMatch> or <Files> sections.


1

It appears that your APACHE_LOG_DIR variable is not defined. See this thread. It says that you need to define it in /etc/apache2/envvars. I'm not sure exactly where then envvars file would be on a Mac, but it should be with all the other apache2 configuration files. Alternately, you should just use a hardcoded path rather than ${APACHE_LOG_DIR}. For ...


1

Having a server serve unparsed PHP files is a big security hole. It means anyone else would be able to read the code. What happens if you have some files with a password on there? The other issue is speed: loading so many files (dozens, if not hundreds) from a completely different server would be very slow. If you were hosting multiple sites on the same ...


1

Actually, there is a way to tell which plugins may be the problem. The P3 plugin (ironically, written by GoDaddy) can be used to generate a report of what each plugin is doing in terms of runtime. Longer run times will usually correlate with more resources consumed and give you some initial guidance on which plugins to examine first.



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