Apache Archives - draghici.net https://draghici.net/tag/apache/ A web developer's ideas Thu, 26 Nov 2026 07:38:37 +0000 en-US hourly 1 https://wordpress.org/?v=7.1.5 https://draghici.net/app/uploads/2017/06/cropped-keyboard-grayscale-150x150.jpg Apache Archives - draghici.net https://draghici.net/tag/apache/ 32 32 Adding SSL to your Apache Server https://draghici.net/adding-ssl-server/ Sat, 27 Jan 2018 12:53:31 +0000 https://draghici.net/?p=997 SSL / HTTPS has become a hard requirement nowadays. The following article is helpful to people who use Apache as a webserver. Commands to run for Apache, in Ubuntu 16.04: At some point you will be asked if you want HTTP to redirect to HTTPS. If yes, then the apache configuration file will be modified […]

The post Adding SSL to your Apache Server appeared first on draghici.net.

]]>
Modifications needed in .htaccess for cross domain access https://draghici.net/modifications-needed-htaccess-cross-domain-access/ Fri, 08 Dec 2017 01:05:15 +0000 https://draghici.net/?p=588 You can use the code in this article as a starting point to providing cross domain access. X-Access-Token, X-New-Access-Token are my application headers. Source:

The post Modifications needed in .htaccess for cross domain access appeared first on draghici.net.

]]>
Setting up Apache and PHP on macOS High Sierra https://draghici.net/setting-apache-php-macos-high-sierra/ Fri, 17 Nov 2017 00:22:04 +0000 https://draghici.net/?p=930 Recently, I had to setup Apache with PHP directly on my mackbook. It was rather easy. I did the following: Source:

The post Setting up Apache and PHP on macOS High Sierra appeared first on draghici.net.

]]>
Disabling cache in Bitnami WAMP stack https://draghici.net/disabling-cache-bitnami-wamp-stack/ Tue, 22 Aug 2017 18:32:34 +0000 https://draghici.net/?p=790 To disable the php cache in Bitnami WAMP stack, use the instructions in this article. Namely: Source:

The post Disabling cache in Bitnami WAMP stack appeared first on draghici.net.

]]>
Increase the media size in your WordPress website https://draghici.net/increase-media-size-wordpress-website/ Wed, 05 Jul 2017 19:43:58 +0000 https://draghici.net/?p=778 One way would be to edit your site’s .htaccess file and add some new lines of code. They are: Now you can upload files which are at most 64MB.

The post Increase the media size in your WordPress website appeared first on draghici.net.

]]>
Port 80 occupied by another program https://draghici.net/port-80-occupied-by-another-program/ Fri, 27 Mar 2015 00:00:00 +0000 https://draghici.net/2015/03/27/port-80-occupied-by-another-program/ Problem: trying to start an Apache server on port 80 fails due to the fact that the 80 is not available. When accessing the port, the following message appears: “HTTP Error 404. The requested resource is not found.” Steps to correct the problem: Sources:

The post Port 80 occupied by another program appeared first on draghici.net.

]]>
Configuration for a domain in your Ubuntu Apache https://draghici.net/configuration-for-a-domain-in-your-ubuntu-apache/ Thu, 18 Sep 2014 00:00:00 +0000 https://draghici.net/2014/09/18/configuration-for-a-domain-in-your-ubuntu-apache/ The content of a configuration file for a new domain in apache (e.g. /etc/apache2/sites-available/starfish.ml.conf) should be the code in this article.

The post Configuration for a domain in your Ubuntu Apache appeared first on draghici.net.

]]>
Redirect to a new page using .htaccess files https://draghici.net/redirect-to-a-new-page-using-htaccess-files/ Mon, 18 Aug 2014 00:00:00 +0000 https://draghici.net/2014/08/18/redirect-to-a-new-page-using-htaccess-files/ The code is pretty simple. Let’s see it! 🙂

The post Redirect to a new page using .htaccess files appeared first on draghici.net.

]]>
Quick easy steps to setting up a development Virtual Machine using Ubuntu 14.04 LTS https://draghici.net/quick-easy-steps-to-setting-up-a-development-virtual-machine-using-ubuntu-14-04-lts/ Wed, 28 May 2014 00:00:00 +0000 https://draghici.net/2014/05/28/quick-easy-steps-to-setting-up-a-development-virtual-machine-using-ubuntu-14-04-lts/ The following is a PHP programmer’s Linux beginner guide to setting up a development environment. The upper commands have been tested on Linode. They have been retrieved from: Please remember to update the installed modules and software. A nice tutorial on the subject above can be found at:

The post Quick easy steps to setting up a development Virtual Machine using Ubuntu 14.04 LTS appeared first on draghici.net.

]]>
Redirect non-www to www using .htaccess https://draghici.net/redirect-non-www-to-www-using-htaccess/ Thu, 24 Apr 2014 00:00:00 +0000 https://draghici.net/2014/04/24/redirect-non-www-to-www-using-htaccess/ The code in this article added at the begining of the .htaccess file, will redirect non-www urls to corespondent www, as expected.

The post Redirect non-www to www using .htaccess appeared first on draghici.net.

]]>
Points of interest https://draghici.net/points-of-interest/ Mon, 20 May 2013 00:00:00 +0000 https://draghici.net/2013/05/20/points-of-interest/ This proiect uses PHP, Javascript, CSS, HTML and PostgreSQL

The post Points of interest appeared first on draghici.net.

]]>