Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
apache server (httpd.conf error)
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="oo_mac_oo" data-source="post: 10696"><p>### Section 3: Virtual Hosts</p><p>#</p><p># VirtualHost: If you want to maintain multiple domains/hostnames on your</p><p># machine you can setup VirtualHost containers for them. Most configurations</p><p># use only name-based virtual hosts so the server doesn't need to worry about</p><p># IP addresses. This is indicated by the asterisks in the directives below.</p><p>#</p><p># Please see the documentation at <URL:http://www.apache.org/docs/vhosts/></p><p># for further details before you try to setup virtual hosts.</p><p>#</p><p># You may use the command line option '-S' to verify your virtual host</p><p># configuration.</p><p></p><p>#</p><p># Use name-based virtual hosting.</p><p>#</p><p># NameVirtualHost limmac.myftp.org</p><p>#</p><p># VirtualHost example:</p><p># Almost any Apache directive may go into a VirtualHost container.</p><p># The first VirtualHost section is used for requests without a known</p><p># server name.</p><p>#</p><p>#<VirtualHost limmac.myftp.org></p><p></p><p>### WWW ###</p><p></p><p># primary domain name for this virtual host</p><p></p><p>ServerAdmin <a href="mailto:tongkew1@streamyx.com">tongkew1@streamyx.com</a></p><p>ServerName limmac.myftp.org</p><p>ErrorLog /Library/WebServer/limmac.myftp.org-error_log</p><p>TransferLog /Library/WebServer/limmac.myftp.org-access_log</p><p></p><p>### FTP ###</p><p></p><p>ErrorLog /Library/ftp/error_log </p><p>TransferLog /Library/ftp/access_log</p><p></VirtualHost></p><p></p><p>Include /private/etc/httpd/users</p><p></p><p></p><p># begin entropy.ch PHP module activation</p><p>Include /usr/local/php/httpd.conf.php</p><p># end entropy.ch PHP module activation</p><p></p><p># begin entropy.ch PHP module activation</p><p>AddType application/x-httpd-php .php</p><p>AddType application/x-httpd-php-source .phps</p><p>NameVirtualHost 10.0.88.2</p><p>DocumentRoot /Library/WebServer/Documents</p><p>User www</p><p>Group www</p><p>Options ExecCGI FollowSymLinks Includes IncludesNOEXEC Indexes MultiViews SymLinksIfOwnerMatch</p><p># end entropy.ch PHP module activation</p></blockquote><p></p>
[QUOTE="oo_mac_oo, post: 10696"] ### Section 3: Virtual Hosts # # VirtualHost: If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see the documentation at <URL:http://www.apache.org/docs/vhosts/> # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. # # Use name-based virtual hosting. # # NameVirtualHost limmac.myftp.org # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for requests without a known # server name. # #<VirtualHost limmac.myftp.org> ### WWW ### # primary domain name for this virtual host ServerAdmin [email]tongkew1@streamyx.com[/email] ServerName limmac.myftp.org ErrorLog /Library/WebServer/limmac.myftp.org-error_log TransferLog /Library/WebServer/limmac.myftp.org-access_log ### FTP ### ErrorLog /Library/ftp/error_log TransferLog /Library/ftp/access_log </VirtualHost> Include /private/etc/httpd/users # begin entropy.ch PHP module activation Include /usr/local/php/httpd.conf.php # end entropy.ch PHP module activation # begin entropy.ch PHP module activation AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps NameVirtualHost 10.0.88.2 DocumentRoot /Library/WebServer/Documents User www Group www Options ExecCGI FollowSymLinks Includes IncludesNOEXEC Indexes MultiViews SymLinksIfOwnerMatch # end entropy.ch PHP module activation [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
apache server (httpd.conf error)
Top