I don't think this is a new thing for most of you! But, I'd still like to share this things that I found out!
During this vacation ( Summer 2016 ), I continue my internship at my very own college NIT Mizoram, with my colleague Jereemi Bentham (Genius) ! We are building a Mizo Search Engine based on Apache Nutch. So many works to do as we are the first one on this topic! After the publication of our Research Paper, I'd share the procedure of the task!
But for now, as mentioned in the title, I will share one thing I found out about XAMPP configuration!
During this internship period, I was given extra work to create an Internet User Management System (Web based)! Our college server (IIS) have some problem with PHP and other web language except ASP! As a PHP Developer, I don't know much about ASP!
So, I thought of using XAMPP and make some modification in the configuration! So, I install XAMPP Server and make the configuration as below!
First the
Path :
Changes:
Now, make some changes in your
This isn't necessary if you are not going to use email service! But if you want to use, change it as below!
Also know that your website folder must be placed inside
Now, we are all good with the
But for now, I will not talk about it! I'll soon get back! I do not like a long post at a time!
During this vacation ( Summer 2016 ), I continue my internship at my very own college NIT Mizoram, with my colleague Jereemi Bentham (Genius) ! We are building a Mizo Search Engine based on Apache Nutch. So many works to do as we are the first one on this topic! After the publication of our Research Paper, I'd share the procedure of the task!
But for now, as mentioned in the title, I will share one thing I found out about XAMPP configuration!
During this internship period, I was given extra work to create an Internet User Management System (Web based)! Our college server (IIS) have some problem with PHP and other web language except ASP! As a PHP Developer, I don't know much about ASP!
So, I thought of using XAMPP and make some modification in the configuration! So, I install XAMPP Server and make the configuration as below!
First the
httpd.conf
file:Path :
C:\xampp\apache\conf\httpd.conf
Changes:
Now, make some changes in your
httpd.conf
. First, search for the following line of configuration!ServerAdmin postmaster@localhost
This isn't necessary if you are not going to use email service! But if you want to use, change it as below!
ServerAdmin email@your_website.com
Second, find the following lines again.
This is important! By default, when you start a XAMPP server and go to
DocumentRoot "C:/xampp/htdocs" <Directory "C:/xampp/htdocs">
This is important! By default, when you start a XAMPP server and go to
http://localhost
or http://127.0.0.1
, you will be redirected to http://localhost/dashboard
or http://127.0.0.1/dashboard
. If you want to make your own website as the default home page of localhost, you have to change the above lines as: DocumentRoot "C:/xampp/htdocs/YourWebsiteRootFolder" <Directory "C:/xampp/htdocs/YourWebsiteRootFolder">
Also know that your website folder must be placed inside
htdocs
folder!
Now, we are all good with the
httpd.conf
file. But, in case we want to use email service, XAMPP, by default will not allow sendmail()
function of your PHP! You will have to hack the configuration file again!But for now, I will not talk about it! I'll soon get back! I do not like a long post at a time!
0 comments:
Post a Comment