httpd VirtualHost Help me~

JackTon

Verified User
Joined
Nov 16, 2007
Messages
18
Squid
http_port 80 vhost vport
cache_peer 111.111.111.111 parent 8080

httpd.conf

Code:
Listen *:8080
ips.conf
Code:
NameVirtualHost 111.111.111.111:8080
/usr/local/directadmin/data/templates

httpd.conf
Code:
Port 8080
Listen 8080
Listen 443
  • ips_virtual_host.conf
  • virtual_host.conf
  • virtual_host_sub.conf
  • virtual_host2.conf
  • virtual_host2_sub.conf
  • redirect_virtual_host.conf
Code:
<VirtualHost |IP|:8080>
./build apache

Code:
httpd:Warning: DocumentRoot [/home/user4/domains/1111.net/public_html/test] does not exist
[Tue Jan 20 14:15:14 2009] [warn] VirtualHost 111.111.111.111:8080 overlaps with VirtualHost 111.111.111.111:8080, 
the first has precedence, perhaps you need a NameVirtualHost directive
.........................................
[Tue Jan 20 14:15:14 2009] [warn] NameVirtualHost 111.111.111.111:80 has no VirtualHosts
 
Last edited:
hi
add the ips+port like here
nano /etc/httpd/conf/extra/httpd-vhosts.conf
 
The problem remains :)
/etc/httpd/conf/ips.conf
Contains:
Code:
# Auto generated apache config file by DirectAdmin version 1.33.7
# Modifying this file is not recommended as any changes you make will be
# overwritten when you add/remove ip's through DirectAdmin.

LogFormat "%O \"%r\"" homedir
NameVirtualHost 111.111.111.111:80
NameVirtualHost 111.111.111.111:443
We change
Code:
# Auto generated apache config file by DirectAdmin version 1.33.7
# Modifying this file is not recommended as any changes you make will be
# overwritten when you add/remove ip's through DirectAdmin.

LogFormat "%O \"%r\"" homedir
NameVirtualHost 111.111.111.111:8080
NameVirtualHost 111.111.111.111:443
We keep and leave.
After addition Users back we receive
Code:
# Auto generated apache config file by DirectAdmin version 1.33.7
# Modifying this file is not recommended as any changes you make will be
# overwritten when you add/remove ip's through DirectAdmin.

LogFormat "%O \"%r\"" homedir
NameVirtualHost 111.111.111.111:80
NameVirtualHost 111.111.111.111:443
 
Code:
yum -y install e2fsprogs

And try again.

Code:
server# pkg_add -r e2fsprogs
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-7.2-release/Latest/e2fsprogs.tbz... Done.

===========================================================================
Note: FreeBSD's ext2fs module, as of release 7.1, cannot mount ext2 file
systems with 256-byte large inodes, only 128 byte sized.  Unfortunately,
256 byte is the default size with many recent Linux distributions.
The inode size cannot be changed after creation of a file system either.
This port overrides the default to 128 bytes, but this only applies to ext2
file systems created with this particular mke2fs.  If you format ext2 file
systems with other operating systems, make sure that mke2fs is called with
"-I 128" for partitions that you plan to share with FreeBSD.
Remember to backup your data before re-formatting any existing file
systems!
---------------------------------------------------------------------------
Note: this is a modified version of the e2fsprogs package, not the official
package. Report all building and run-time trouble that originates in the
package to the port maintainer, <[email protected]>.
===========================================================================

server#
:(
 
On freebsd use:

Code:
chflags schg /etc/httpd/conf/ips.conf
 
Back
Top