Results 1 to 6 of 6
I have apache2 installed, and it is working but when you go to the page:
http://192.168.1.101 its automatically brings me to http://192.168.1.101/apache2-default
I've deleted the apache2-default folder then it says ...
- 03-06-2007 #1Just Joined!
- Join Date
- Mar 2007
- Posts
- 19
Apache2 Configuration
I have apache2 installed, and it is working but when you go to the page:
http://192.168.1.101 its automatically brings me to http://192.168.1.101/apache2-default
I've deleted the apache2-default folder then it says that it can't locate apache2-default, which means that there is something pointing to the folder. Can you tell me where, or how to change the configuration to point at the www folder, (which is one up from the apache2-default)?
- 03-06-2007 #2Just Joined!
- Join Date
- Mar 2007
- Posts
- 17
Try deleting .htaccess from the directory. It might be redirecting.
- 03-06-2007 #3Just Joined!
- Join Date
- Nov 2005
- Posts
- 59
Go to /etc/apache2/sites-available/ folder and edit the file called "default" you can change document root directory and you need to comment out the following line in this file to remove the default redirect
Originally Posted by mastermosley
RedirectMatch ^/$ /apache2-default/
Hope this helps
- 03-06-2007 #4Just Joined!
- Join Date
- Mar 2007
- Posts
- 19
Changed the default configuration file, and restarted apache2 and got this
The requested URL /apache2-default/ was not found on this server. So its still pointing at that, is there another file to change?
- 03-06-2007 #5Just Joined!
- Join Date
- Mar 2007
- Posts
- 19
Ok, I've got apache2 configured the way I want it. I have just downloaded and installed php4, using apt-get. Now how do I configure it with apache2 to work, when I link to a .php file it just asks if I want to download it, so its still not installed correctly.
- 03-07-2007 #6Just Joined!
- Join Date
- Mar 2007
- Posts
- 17
You may use XAMPP(LAMPP). This will get everything done for you.
XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl.
Homepage: http://www.apachefriends.org/en/index.html
Download: http://www.apachefriends.org/downloa...nux-1.6.tar.gz


Reply With Quote
