LinuxGuruz
Toll Free Numbers
Custom Search
MAIN MENU
Main Page
IT Jobs
IPTABLES
Linux Forum
HTML Forum
PHP Forum
MySQL Forum
Linux FAQ
Linux Articles
About Us
Privacy Policy

ADD TO FAVORITES


MARC

Mailing list ARChives
- Search by -
 Subjects
 Authors
 Bodies





FOLDOC

Computing Dictionary






Cheap UK Web Hosting Provider

Cheap Dedicated Servers UK

Cheap Linux VPS Hosting UK

Cheap Cloud Hosting UK



Icons
Icons


free brochure template
Free Brochure Template

Web Hosting

Domain Names

Web Design

Reseller Hosting

Registro de Dominios

Reseller Hosting


Toll Free Number for $2.00/Month!!!

Toll Free Number for $2.00/Month!!!
VirtualHost PHP 3.x Tips

Title:       VirtualHost PHP 3.x Tips
Contributor: Randall Goguen (aka Ranman)
Last Update: Friday November 10 00:25 EDT 2000

    You can view the settings of most of the configuration
values in the output of <? phpinfo(); ?>

    Following is a extract of a httpd.conf file.


NameVirtualHost 10.166.98.200

<VirtualHost 10.166.98.200>
ServerName virtual.com
ServerAlias *.virtual.com
ServerAdmin webmaster@hostmachine.com
DocumentRoot /home/www/www.virtual.com/htdocs
UserDir /home/www/www.virtual.com/htdocs
ErrorLog /home/www/www.virtual.com/logs/error_log
CustomLog /home/www/www.virtual.com/logs/access_log combined
ScriptAlias /cgi-bin/ /home/www/www.virtual.com/cgi-bin/

<Directory /home/www/www.virtual.com/cgi-bin>
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>

<Directory /home/www/www.virtual.com/htdocs>
# Turn PHP Off and On for this virtual host.
php3_engine On
# Error reporting level.
php3_error_reporting 1
# To log or not to log.
php3_log_errors On
# Give him/her thier own.
php3_error_log /home/www/www.virtual.com/logs/php3_error_log
# You can set a resonable time out here.
php3_max_execution_time 180
# A users temporary upload Directory.
php3_upload_tmp_dir /home/www/www.virtual.com/htdocs/tmp
# Users can use require(); and include(); without
# a PATH. i.e. include('myheader.php');
php3_include_path /home/www/www.virtual.com/htdocs/include
</Directory>

</VirtualHost>


	Anyone who wishes to make additions or changes to this 
PHP Tip email them to webmaster@linuxguruz.org

	This document is Copyright (c) 1999 by LinuxGuruz

Return to the LinuxGuruz PHP Tutorials Page
Return to the LinuxGuruz Main Page


www.PHP.net Search Engine


Restrict the search to:
Copyright © 1999, 2000 The PHP Development Team.
Submit a PHP Tutorial

Title:

Contributor:

IRC NICK: (optional)

E-Mail Address: (optional)

Tutorial:

Return to the LinuxGuruz PHP Tutorials Page
Return to the LinuxGuruz Main Page

RESOURCE LINKS
Linux
Apache
HTML
PHP
MySQL
PostgreSQL
Oracle
CGI
Perl
Java
C/C++
Bash
Tcl
Networking
Security
ISP
IRC
Xwindow
Laptop
Graphics
Hardware
Reference
Misc

Broadband


filing cabinet

  • Buy Batteries for Laptops and Cameras
  • Notebooks
  • Michael Fertik
  • Reputation Defender

  • XP Style Icons
    XP Style Icons


    Network Certification


    Network Security


    Wireless Networking


    Canadian
    Web Hosting in Canada


    Drummer Portal


    Mending Media

    The Path Of
    Most Resistance


    Toll Free Number for $2.00/Month!!!

    Toll Free Number for $2.00/Month!!!


    Linux

    The Distributions





    Linux

    The Software





    Linux

    The News




    webmaster@linuxguruz.com
    Copyright © 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 and 2009 by LinuxGuruz