Search Results for apache
1and1.com error “300 Multiple Choices”
Lately I bought hosting from 1and1.com since Dreamhost has been having lot of downtime. In short, experience with 1and1.com has been an awkward till date and I have already requested them to cancel my account under there refund policy. However,while writing .htaccess rules I faced many issues. On
5 commonly used url rewriting examples using .htaccess
URL rewriting using .htaccess is pretty common today. Most of the frameworks like WordPress, CodeIgniter,cakePHP etc. provide their own URL rewriting techniques. However, there is always a necessity to beautify the URLs using .htaccess when you are using any of the framework. Without talking abou
Set the User Agent With PHP cURL
cURL is a sleek way to grab contents from a URL. It's helpful in PHP where servers have banned using the function file_get_contents() . A while back I had shared a post which show on how to grab the contents of a URL using cURL. However, cURL is much more than just grabbing data. It can be used to m
mysql.sock path in Mac OS X
In my last post I discuss how to enable PHP over Apache in Mac OS X lion and today I bumped into a new problem. The problem is that when you install MySQL on Mac OS X and try to connect it via PHP, you will get an error. This error is thrown due to the fact that the path of the MySQL sockets are dif
Enable Apache,PHP in Mac OS X
Mac OS X comes with Apache,PHP pre-installed but is not enabled by default. Just when you get on to your new Mac OS X you definitely want to enable these. The following steps should help you enable PHP over Apache and you can start rolling. Enable PHP module in httpd.conf We first need to enabl
Add PHP GD support to apache in Ubuntu Linux
PHP GD library is used to created images on the fly. This library is not installed or activated by default when you first install Apache on Linux. But GD library is used widely while developing websites. For eg. if you want to create a captcha image for a registration form, then you are going to use
Change Tomcat default port
By default, Tomcat server runs on 8080. However, there are chances of the conflict with other programs. Or sometimes its just that you want to change the port no. So in this post, I will show you how can you change the default port no. of Tomcat server. To do so, follow the steps : 1) Open ser
List all loaded modules in Apache
In this post, I will show you how to check what all modules are loaded on your Apache server, then you can use the following command. Open the terminal and type the following command. apache2ctl –M httpd –M In my case httpd worked for Centos (.rpm supported system) and apache2ctl worked
How to install solr PECL extension for PHP
Lately, I have been working a lot with Solr. From setting up it on server using Tomcat, to creating its indexes, everything. I found that installing PECL extension for was bit challenging since it was not just about apt-get. In fact, the complete setup sometimes becomes tedious job if not handled
Installing Apache2 and PHP5 on Ubuntu
In this post we will learn how you can install Apache2 server and PHP5 on Ubuntu. Undoubtedly, Apache2 is the most famous webserver and along with PHP, these both become the best recipes to cook pretty neat websites. Oh ! Was that too much cooking, eh ? Sigh ! let’s not get more into and comin
How to restart Apache server from shell
Hey Folks, You need to restart your Apache server when you change settings in php.in, httpd.conf or some other config file. You need to restart the server because the changes which you made will only effect after the restart. To restart your server, simply type the following comman
Change default php.ini values using .htaccess
Hey Folks, As you might be knowing that php.ini is the configuration file for the PHP and resides at the server. It contains all the options/settings for the PHP language. There are instances you need to change these options. In local environment you can change these settings very easily b
Install wordpress in local environment
Well this post is not for the regular RSS readers, but sure is for those nomads who look around how to setup wordpress on their systems and land on to Digimantra using Google Search. I know wordpress is one Open Source blogging application which is pretty easy to install but for some who are not so
Advanced htaccess for more than 10 group of backtrack references
You might have faced error where .htaccess wont recognize the backtrack variable after $9 such that if you specify "$10" then it will return you "0" as value to that key in URL param. The mod_rewrite module is confused which varible to return $1 or $o. Lets see the problem first, Problem : R
End process from command line or console when task manager is not working in windows
Heya, This is going to be a really small trick but hope you like it, it can save you a reboot at time :) During my Odyssey to Microsoft windows xp followed by Microsoft Windows Vista i felt that there are times when the task manager neglects you and do not respond at all. But you know the process