Top Menu

Search results for "virtualmin domain alias no input file specified"

WordPress with W3 Total Cache on Nginx with APC (Virtualmin)

…/blogs.dir/ { internal; root /home/username/public_html/wordpress/wp-content; } Adding APC Support for a Virtual Domain Because Virtualmin’s implementation of Nginx uses php-fastcgi, each virtual domain will load its own php.ini file, so you can add the APC directives to that file (/home/domainname/etc/php5/php.ini) Add the following to php.ini (adjust to your requirements) [APC] extension = apc.so apc.enabled = 1 apc.shm_segments = 1 apc.s… 1, 0, 0, 0 and 1803.18

Continue Reading 18

Automated WordPress Installation Via Custom Virtualmin Script Installer

…sc “Custom WordPress” replace ALL instances of script_wordpress with script_custompress (id to match filename) link to your zip: ‘url’ => “file://localhost/path/to/copy-of-latest.zip” (~line 150 after # script_wordpress_files) this must be retrievable via wget from YOUR SERVER (test this via terminal command) change ‘virtualmin‘ => 0 to NOT use virtualmin scripts repo! (~line 152) Your custom file should now look like this… 1, 0, 0, 0 and 609.71

Continue Reading 35
APC INFO Monitor

How to Configure APC Cache on Virtual Servers with PHP running under FCGId

…/home/username/public_html/phpmyadmin/.*” TimThumb is a good example of a common WordPress theme plugin that may not need to be cached. Because the apc.filters RegExp only works with filenames, it is not possible to filter out an entire PHP script package, component or plugin based on the directory where it resides. So if you do not wish to use APC cache on a particular script package, you should run it in a separate website. Some PHP script pack… 4, 0, 0, 0 and 505.93

Continue Reading 53

Web Hosting

Decades of experience hosting websites, from small local sites with only a few html pages, to high-traffic sites with thousands of users and pages.  Website hosting, evolved Web hosting has changed dramatically in the last few years. The majority of accounts are now running PHP scripts and MySQL, whereas in the past most accounts were only […]

Continue Reading

Apache config for Worker MPM vs Prefork MPM

…levels in httpd.conf If you need to recompile Apache and PHP, then you should do more research. Recompiling is not a trivial process. I found that my server had much better memory usage under Worker MPM, however: some scripts (squirrelmail, phpmyadmin) do not work on a per-domain basis and must be run direct to the actual server process with symlinked directories. This is much more efficient but less convenient for virtual domain owners some… 2, 0, 0, 0 and 259.45

Continue Reading 4

Auto Mailer Form with Validation and reCAPTCHA

…n the example pages. Installation: put the downloaded folder in a public_html space that’s running PHP 5+. Note that there are different packages for PHP 5.3, so get the correct flavor of version 3. This example works with PHP 5.3. I have created an example form that includes most of the different types of inputs, all you need do is create a file in the same folder as the package’s main index.php. I’ve heavily commented the code… 1, 0, 0, 0 and 155.68

Continue Reading 2

SSL and CloudFront CDN Support for WebFonts via .htaccess

…cross-site attacks, but you can allow this via Apache mod_headers, to allow your specific CloudFront (or other) domain, specified in the .htaccess file. Some sites have suggested using “*” wildcards to allow all domains… but obviously this is a security issue: with this Header, you are granting JavaScript clients basic access to your resources. I recommend you only allow access to the specific CDN domains you require. Do this w… 1, 0, 0, 0 and 155.67

Continue Reading 0

Résumé

Chris Gilligan Information Architect, Web Server Administrator, Media Producer web • video • print chris@chrisgilligan.net chrisgilligan.com I design and produce information and communication media for university, corporate, small business, manufacturing and non-profit clients: web sites Information architecture and design for open source content management systems Linux Apache MySQL PHP web server administration Postfix Dovecot Sendmail […]

Continue Reading
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

APC cache does not work well in a virtual hosting environment unless PHP is running as FCGID, and every individual virtual host has a unique PHP.ini and a unique fcgiwrapper. This is not the case with many virtual hosting environments because the memory and CPU requirements are too great. I suggest using Virtualmin for a shared hosting environment with APC cache, because it does allow to set php.ini and fcgiwrapper for every individual virtual h… 2, 0, 1, 0 and 142.7

Continue Reading 2

Install phpMyAdmin with SSL on CentOS, Amazon Linux, RedHat (Apache or NginX)

…user -pyour-superuser-password mysql > source /usr/share/phpMyAdmin/examples/create_tables.sql Log in to PMA Now you can log into PMA with your mysql root user credentials. https://yourhost.tld/phpmyadmin Create a mysql user, pma, with the password you added to the config file, with no default permissions, on localhost Give pma user all permissions on phpmyadmin database, on localhost Now you have a secure PMA which will work for all mysql… 2, 0, 0, 0 and 103.79

Continue Reading 0