Sponsored Content
Full Discussion: Apache virtual host
Top Forums UNIX for Dummies Questions & Answers Apache virtual host Post 11749 by Neo on Tuesday 11th of December 2001 05:23:26 PM
Old 12-11-2001
Good point.... VirtualHost directives are 'about' mapping' different web-hostnames to a single IP address....... of course you can have many of these as well.....
 

10 More Discussions You Might Find Interesting

1. Solaris

Unix virtual host detection

I have a need to write scripts that can reliably determine the virtual host of a Sun Solaris system. (1 Reply)
Discussion started by: Meridian
1 Replies

2. Solaris

Unix virtual host detection

Is it possible to reliably detect the virtual host of a Sun Solaris box, within a shell or Perl script? Can a system have multiple virtual host or not host at all ? I was recently made aware of hostname command, but was not sure if this option was the only one available. Any help is much... (3 Replies)
Discussion started by: Meridian
3 Replies

3. Solaris

Solaris virtual machine access on host os

Hi I have two solaris 10 virtual machines on my Vista laptop. I want to access both machines using putty in vista. I used DHCP while installing virtual machines. one machine gets the ip address and other does not. What is the problem? can i assign a static ip address if yes how? ... (2 Replies)
Discussion started by: ankurk
2 Replies

4. Red Hat

Virtual Host Apache

Hi, I have set up the following virtual host but it cannot find the URL? Apache is running fine and I have disabled iptables. Within the document root I have the following file index.html displaying a sample text message. Any ideas what my problem might be? httpd.conf: ... (2 Replies)
Discussion started by: Duffs22
2 Replies

5. Solaris

Change hostID of Solaris 10 virtual/guest machine installed by Virtual Box 4.1.12 on Windows-XP host

Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12). I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies

6. Red Hat

Apache question - virtual host related

Hi folks, I recently read about Apache virtual host and was able to configure that as well. I used name based virtual host (lets say http://vhost1.example.com) and it worked just fine. Then I configured another named based virtual host on same apache server (lets say http://vhost2.example.com)... (2 Replies)
Discussion started by: freebird8z
2 Replies

7. Red Hat

Apache virtual host config vs global config problem

Hi folks, I am trying to configure Apache webserver and also a virtual host inside this webserver. For Global server config: /var/www/html/index.html For virtual host config: /var/www/virtual/index.html Both client10 & www10 are pointing to 192.168.122.10 IP address. BUT, MY... (1 Reply)
Discussion started by: freebird8z
1 Replies

8. Web Development

Problems with Apache Virtual Host

I am attempting to add virtual hosts to an apache web server, which has this current configuration: <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www <Directory /> Options FollowSymLinks AllowOverride None ... (27 Replies)
Discussion started by: Corona688
27 Replies

9. Solaris

Solaris 10 virtual - how do I tell physical host?

uname -a reports type Generic so I know its virtual. Assume its an ldom somewhere. How do I find out what physical host server is? (4 Replies)
Discussion started by: psychocandy
4 Replies

10. UNIX for Advanced & Expert Users

Apache Virtual host issue

Hello, I am facing a very strange issue while setting a virtual host on apache to setup multiple websites using separate IPs. Virtual host is setup but when i am browsing the website it display content under /var/www/html and displaying site1 and site2 folder instead of access the content... (2 Replies)
Discussion started by: sunnysthakur
2 Replies
spop3d.conf(5)						   System Administrator's Manual					    spop3d.conf(5)

NAME
spop3d.conf - configuration data for The Solid POP3 Server. DESCRIPTION
A configuration file consists of zero or more blocks. There are two kinds of these blocks: Global and VirtualHost. Global block begins with <Global> and ends with </Global> line. VirtualHost block begins with one of: <VirtualHost xx.xx.xx.xx> <VirtualHost host.name.com> <VirtualHost xx.xx.xx.xx host.name.com> lines, where xx.xx.xx.xx is an IPv4 (or IPv6) address and host.name.com is a virtual domain name (read VIRTUALS file). VirtualHost block ends with </VirtualHost> line. Each such block consists of zero or more options. Each option is specified in separate line and has 2 parts: option name and option argument, separated by a white space character (one or more). There are 4 types of options: boolean its argument can be "yes" (or "true") and "no" (or "false") string its argument is string. String should be quoted (read the section BUGS). period its argument is number which can be followed by one of these suffixes: s (for seconds), m (for minutes), h (for hours), d (for days), w (for weeks). This argument specifies some period of time or some number. expire exactly the same as period, but its argument can also be never. Every text between /* and */ is treated as a comment and is ignored, unless it's inside quoted string. Options from all Global and some VirtualHost (when their IPv4 (or IPv6) address is equal to socket address or their block virtual domain name is equal to virtual domain name specified by user) blocks are used. Options from left VirtualHost blocks are ignored. Configuration file is parsed two times, if user specify virtual domain name (read VIRTUALS file). Following options are recognized: AllowRootLogin boolean Allow root login. It's disabled by default and shouldn't be changed. Debian Note: This option is not available in the Debian package. UserOverride boolean Allow users specify their maildrops (path and type) and APOP secrets. It's enabled by default. UserMailDropDelimiter string Specify character used to separate different maildrops for user. If set, user can access different maildrops, as defined in their ~/.spop3d file, logging as "user_nameUserMailDropDelimitermaildrop_name" (e.g. user+private, if the UserMailDropDelim- iter is set to +) Default is empty (disables support for multiple mailboxes per user). AllowAPOP boolean Users can authenticate themselves with APOP scheme. It's enabled by default. MailDropName string Specify path to maildrop. The format is the same as for -n option in solid-pop3d (8). Default value is /var/mail/%s MailDropType string Specify type of maildrop. The allowed values are mailbox and maildir. Default value is mailbox (or maildir if support for mailbox isn't compiled in server). APOPServerName string Specify the server name which is used for APOP authentication. Default value is a name obtained from gethostname() call. AutoLogoutTime period Specify the autologout time. The server quit when client is idle for specified period. Default value is 2 minutes. ChangeGID boolean If enabled server changes his GID to GID of logged user. It's enabled by default. WrongCommandsLimit period Specify the limit of wrong commands. The server quit when this limit is exceeded. Limit is ignored when 0 is specified. Default value is 5. ReadExpire expire Expire read (in this instance of daemon) messages that are older than expire. Default value is never. UnreadExpire expire Expire unread (in this instance of daemon) messages that are older than expire. Default value is never. DoMapping boolean If enabled mapping of user names (read VIRTUALS file) is allowed. Option is disabled by default. UserMapFile string Specify path to user names mapping file (read VIRTUALS file). There is no default value. UserMapPrefix string Specify a set of characters which should be prefixed to the username before it is looked up in the user mapping file. For example, given a username of "bar", and a UserMapPrefix of "foo-", there should be an entry in the user mapping file for "foo-bar". This option has no effect when DoMapping is disabled, and is a blank string by default. AllowNonIP boolean If enabled user is allowed to specify virtual domain name in when logging. Read VIRTUALS file for details. Option is enabled by default. UserBullFile string Specify path to user bulletin file (read the section BULLETINS in README). The format is the same as for -n option in solid- pop3d (8). Default value is .spop3d-bull. BulletinDirectory string Specify path to bulletin directory. Default value is /var/lib/solid-pop3d/bulletins. LogPriority string Set logging facility and priority. Default value is local0.notice. Known facilities: daemon, local0, local1, ..., local7, mail, user. Known priorities: emerg, alert, crit, err, warning, notice, info, debug. facility or facility.priority combina- tion are recognized. AddBulletins boolean Server checks for new bulletins in BulletinDirectory if enabled. Option is enabled by default. RequiredMapping boolean If DoMapping and RequiredMapping are enabled user _MUST_ have entry in user mapping file. If DoMapping is enabled and RequiredMapping is disabled user needn't have entry in user mapping file (no mapping is performed then). Option has no effect when DoMapping is disabled. Option is enabled by default. AuthMappedUser boolean Controls whether authentication is performed on the username given by the user, or the username looked up in the user mapping file. The option is enabled by default, meaning that the user from the mapping file is used. The option has no effect when DoMap- ping is disabled. LogStatistics boolean If enabled qpopper-like statistics are logged. At the end of each session username, number of deleted messages, size (in bytes) of deleted messages, number of messages left on server, size (in bytes) of messages left on server are logged. Option is enabled by default. CreateMailDrop boolean If enabled maildrop (mailbox or maildir) will be created, when it doesn't exist. Option is disabled by default. AllowUser boolean Allow USER/PASS authentication. This option is enabled by default. It's the standard method of user authentication and you probably don't need to disable it. You must have at least one authentication method enabled (AllowUser or AllowAPOP). EXAMPLE <Global> LogPriority daemon.info MailDropName Maildir MailDropType maildir UserBullFile .spop3d-blurp /* It's just an example */ ReadExpire 0 UnreadExpire 2w </Global> <VirtualHost 192.168.1.1> LogPriority local0 UserMapFile /etc/pop3/192.168.1.1.mapping DoMapping true UnreadExpire never APOPServerName jakis.tam.host.w.pl MailDropName "/var/mail/%s" /* It is a comment */ MailDropType mailbox AutoLogoutTime 5s UserOverride yes AllowAPOP yes ChangeGID true </VirtualHost> WARNINGS
spop3d.conf should be readable by "spop3d" user!!! The server exits when syntax error occurs in a configuration file. If a configuration file doesn't exist (stat() failed), the server logs this fact only when in debugging mode. FILES
/etc/spop3d.conf Global configuration file. SEE ALSO
solid-pop3d(8), pop_auth(1), dot-spop3d(5), AUTHOR
Jerzy Balamut <jurekb@dione.ids.pl> Unix OCTOBER 1999 spop3d.conf(5)
All times are GMT -4. The time now is 09:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy