I want to include the following. But it does not work. How can I do it?
Include htdocs/phpweb20/httpd.conf
In Linux, it is like this.
Include /var/www/phpweb20/httpd.conf
Thanks in advance.
<VirtualHost 192.168.0.80>
ServerName phpweb20
DocumentRoot C:\xampp\htdocs\phpweb20
<Directory "C:\xampp\htdocs\phpweb20">
AllowOverride All
Options All
</Directory>
php_value include_path .:C:\xampp\htdocs\phpweb20\include:C:\xampp\php\pear\
php_value magic_quotes_gpc off
php_value register_globals off
</VirtualHost>
shinokada wrote:I am trying to add the following to httpd.conf.
- Code: Select all
<VirtualHost 192.168.0.80>
ServerName phpweb20
DocumentRoot C:\xampp\htdocs\phpweb20
<Directory "C:\xampp\htdocs\phpweb20">
AllowOverride All
Options All
</Directory>
php_value include_path .:C:\xampp\htdocs\phpweb20\include:C:\xampp\php\pear\
php_value magic_quotes_gpc off
php_value register_globals off
</VirtualHost>
<VirtualHost *:80>
ServerName phpweb20
DocumentRoot C:\xampp\htdocs\phpweb20
<Directory "C:\xampp\htdocs\phpweb20">
AllowOverride All
Options All
</Directory>
</VirtualHost>
Users browsing this forum: No registered users and 139 guests