Enable userdir Apache module on Ubuntu Linux and other Debian based distributions » TechyTalk.info. Lately I've spent a lot of time on web programming using open source based technologies like PHP, MySQL and PostgreSQL.
This works really great on Linux because every tool you need for web programing is right there a few keystrokes away using your favorite distribution and package manager. One essential thing you need to setup for web programming is localhost web server serving files inside your home directory. I've wrote about one method of making Apache web server work this way in my following article: In this article I will show you how to do the same thing in another way by enabling Apache module called userdir on Debian based distributions like Ubuntu. The official definition of userdir is that "this module allows user-specific directories to be accessed using the syntax". In this article I will assume you have Apache web server fully installed.
For starters we need to enable this module using following command: Making prettier URLs with mod_rewrite. Posted by Steve on Mon 9 May 2005 at 18:49 mod_rewrite is a module for Apache which allows you to rewrite and manipulate URLs which are sent to your webserver.
It has many uses from the simple to the complex. Here we'll introduce the basics of enabling and using the module. The mod_rewrite module allows you to do almost anything to incoming requests to your Apache or Apache2 server. The module, once loaded, is configured by a list of rules. Enabling mod_rewrite for Apache Enabling the module for Apache should be a simple matter of adding the following line to your Apache's configuration file /etc/apache/httpd.conf:LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so Once that has been done your server can be restarted to allow these new configuration directives to take effect:root@lappy:~# /etc/init.d/apache restart Enabling mod_rewrite for Apache2 Simple Examples Common Tasks with mod_rewrite.
Enable mod_rewrite in a Ubuntu server. If you have done much work with Apache then most likely you have experienced a need for enabling the rewrite engine.
If you are unfamiliar with the rewrite engine, you can think of it as a means for your web server to literally rewrite urls so they are easier for users to remember. So instead of having to enter: Your users would only have to type: Of course the rewrite engine serves as much more than just a means for your users to more easily remember addresses.
Many server softwares (such as the social networking server Elgg) depending upon the rewrite engine in order to function. What this involves. How to enable mod_rewrite in apache2.2 (debian/ubuntu)