Server directories configuration

Discuss server installationa nd configuration issues here

Moderators: macek, egami, gesf

Emy
New php-forum User
New php-forum User
Posts: 16
Joined: Sat Jun 02, 2012 8:16 pm

Server directories configuration

Postby Emy » Sat Jun 02, 2012 8:20 pm

Hello everyone,

The default users directory in a web server is: /home/user, howerver, the website files are in: /var/www/user, connecting with FTP to transfert files, connection output is: /home/user, how can I change it to: /var/www/user

Thanks in advance and Regards

User avatar
minimihi
New php-forum User
New php-forum User
Posts: 238
Joined: Sat Apr 14, 2012 11:57 am
Location: Vilnius, Lithuania

Re: Server directories configuration

Postby minimihi » Fri Jun 22, 2012 12:10 pm

You have to change DocumentRoot in you apache settings

pennaseo
New php-forum User
New php-forum User
Posts: 3
Joined: Wed Oct 10, 2012 2:19 am

Re: Server directories configuration

Postby pennaseo » Fri Oct 12, 2012 11:43 pm

for server side includes....
<?php
Include(‘india.php’);
/*include(‘india.php’);
Include(‘india.php’);
*/
Include_once(‘india.php’);
Include_once(‘india.php’);
?>
for more visit > http://phpden.blogspot.in/2012/10/serve ... ludes.html :)


Return to “Server installation and configuration”

Who is online

Users browsing this forum: No registered users and 0 guests