Installing HTTP Server on Debian
This tutorial about installing HTTP Server on Debian Linux.
Installing Apache HTTP Server for HTTP (Web) Server Service
apt-get install apache2
Testing HTTP Server:
Open a web browser and enter http://localhost or its IP Address http://ip-address.
Installing PHP for Apache HTTP Server
apt-get install php4 /etc/init.d/apache2 restart vi /var/www/testphp.php
Insert this following line into testphp.php file.
<?php phpinfo(); ?>
Save this new file.
Open a web browser and enter http://IP-Address/testphp.php .
Install PostgreSQL for Apache HTTP Server
apt-get install libapache2-mod-auth-pgsql apt-get install php4-pgsql /etc/init.d/apache2 restart
Mapping URLs to folders outside /var/www/
vi /etc/apache2/conf.d/alias
Insert this following line into the new file.
Alias /URL-path /location_of_folder/ <directory /location_of_folder/> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory>
Save a new file.
/etc/init.d/apache2 restart
Open a web browser and enter http://IP-Address/URL-path .
Done.. Good Luck…
Link
Related Posts
2 Responses to “Installing HTTP Server on Debian”
Posting Your Comment
Please Wait
Please Wait






















mas bisa bantu saya ga??????????
saya buat server debian. saat saya mengistall HTTP server, say mengetes httpnya di cleint, tapi ga bisa, yang bisa hanya menggunakan IP si server itu sendiri. jika saya ketikkan http://www.localdomain.com di debian, ia muncul. tapi di windows ga bisa . bisa tolong?????????????
(balas)
mohon bantuan instalasi nya di windows