01-20-2014
Does not work.
Does the exact same thing as described above, the exact same way as described above: Sites continue going to /var/www despite the virtualhost telling them to go somewhere else.
I even have the 'NameVirtualHost *:80 has no VirtualHosts' error despite having obvious virtualhosts, just like described above.
Any further thoughts?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Would this be the correct entry for Apache to answer on the IP 129.250.242.126 if the servers IP is 129.250.242.125? Are any other changes necessary to get Apache to answer this IP for web traffic?
< VirtualHost 129.250.242.126>
ServerName www.my_domain.com
ServerAdmin admin@my_domain.com... (4 Replies)
Discussion started by: 98_1LE
4 Replies
2. UNIX for Advanced & Expert Users
I am currently going through the servers in our network and trying to compile a list of the current aliases for each box and any virtual IP addresses. I can check for the ones that are supposed to be there but how do I list the ones that I don't even know exist?
ANY help would be greatly... (1 Reply)
Discussion started by: Scott Pullen
1 Replies
3. Solaris
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
4. Solaris
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
5. Red Hat
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
6. Solaris
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
7. Red Hat
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
8. Red Hat
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
9. Solaris
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
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
LEARN ABOUT OPENDARWIN
tcl_pkgpresent
Tcl_PkgRequire(3) Tcl Library Procedures Tcl_PkgRequire(3)
__________________________________________________________________________________________________________________________________________________
NAME
Tcl_PkgRequire, Tcl_PkgRequireEx, Tcl_PkgPresent, Tcl_PkgPresentEx, Tcl_PkgProvide, Tcl_PkgProvideEx - package version control
SYNOPSIS
#include <tcl.h>
CONST char *
Tcl_PkgRequire(interp, name, version, exact)
CONST char *
Tcl_PkgRequireEx(interp, name, version, exact, clientDataPtr)
CONST char *
Tcl_PkgPresent(interp, name, version, exact)
CONST char *
Tcl_PkgPresentEx(interp, name, version, exact, clientDataPtr)
int
Tcl_PkgProvide(interp, name, version)
int
Tcl_PkgProvideEx(interp, name, version, clientData)
ARGUMENTS
Tcl_Interp *interp (in) Interpreter where package is needed or available.
CONST char *name (in) Name of package.
CONST char *version (in) A version string consisting of one or more decimal numbers separated by dots.
int exact (in) Non-zero means that only the particular version specified by version is acceptable. Zero means that
newer versions than version are also acceptable as long as they have the same major version number
as version.
ClientData clientData (in) Arbitrary value to be associated with the package.
ClientData *clientDataPtr (out) Pointer to place to store the value associated with the matching package. It is only changed if the
pointer is not NULL and the function completed successfully.
_________________________________________________________________
DESCRIPTION
These procedures provide C-level interfaces to Tcl's package and version management facilities.
Tcl_PkgRequire is equivalent to the package require command, Tcl_PkgPresent is equivalent to the package present command, and Tcl_PkgPro-
vide is equivalent to the package provide command.
See the documentation for the Tcl commands for details on what these procedures do.
If Tcl_PkgPresent or Tcl_PkgRequire complete successfully they return a pointer to the version string for the version of the package that
is provided in the interpreter (which may be different than version); if an error occurs they return NULL and leave an error message in the
interpreter's result.
Tcl_PkgProvide returns TCL_OK if it completes successfully; if an error occurs it returns TCL_ERROR and leaves an error message in the
interpreter's result.
Tcl_PkgProvideEx, Tcl_PkgPresentEx and Tcl_PkgRequireEx allow the setting and retrieving of the client data associated with the package. In
all other respects they are equivalent to the matching functions.
KEYWORDS
package, present, provide, require, version
Tcl 7.5 Tcl_PkgRequire(3)