Sponsored Content
Top Forums Web Development Problems with Apache Virtual Host Post 302884427 by siu on Monday 20th of January 2014 10:32:51 AM
Old 01-20-2014
is this linux box your home pc? or a vps/dedicated server?

did u tried to add the domain in /etc/hosts?
read the article
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Apache virtual host

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

Resolving Aliases and Virtual IP's on a Host

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

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

4. 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

5. 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

6. 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

7. 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

8. 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

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
INEWS(1)						    InterNetNews Documentation							  INEWS(1)

NAME
inews - Post a Usenet article to the local news server SYNOPSIS
inews [-ADhNORSVW] [-acdeFfnortwx value] [-p port] [file] DESCRIPTION
inews reads a Usenet news article, perhaps with headers, from file or standard input if no file is given. It adds some headers and performs some consistency checks. If the article does not meet those checks, the article is rejected. If it passes the checks, inews sends the article to the local news server as specified in inn.conf. By default, if a file named .signature exists in the home directory of the posting user, it is appended to the post, preceded by a line that contains only "-- ". Signatures are not allowed to be more than four lines long. Cancel messages can only be posted with inews if the sender of the cancel message matches the sender of the original message being cancelled. The same check is also applied to Supersedes. Sender in this case means the contents of the Sender header if present, otherwise the From header. Control messages other than cancel messages are only allowed if inews is being run by the news user or by a user in the news group and if the control message is recognized. If the article contains a Distribution header with a distribution that matches one of the bad distribution patterns in inn/options.h (anything containing a period by default), the message will be rejected. The message will also be rejected if checkincludedtext is true in inn.conf, it contains more quoted text than original text, and it is over 40 lines long. If not provided, the Path header of an article is constructed as follows: The basic Path header will be "not-for-mail". If pathhost is specified in inn.conf, it will be added to the beginning Path. Otherwise, if server is specified, the full domain of the local host will be added to the beginning of the Path. Then, if -x was given, its value will be added to the beginning of the Path. If posting fails, a copy of the failed post will be saved in a file named dead.article in the home directory of the user running inews. inews exits with a non-zero status if posting failed or with a zero status if posting was successful. OPTIONS
Most of the options to inews take a single value and set the corresponding header in the message that is posted. If the value is more than one word or contains any shell metacharacters, it must be quoted to protect it from the shell. Here are all the options that set header fields and the corresponding header: -a Approved -c Control -d Distribution -e Expires -F References -f From -n Newsgroups -o Organization -r Reply-To -t Subject -w Followup-To -x Path prefix The -x argument will be added to the beginning of the normal Path header; it will not replace it. -A, -V, -W Accepted for compatibility with C News. These options have no affect. -D, -N Perform the consistency checks and add headers where appropriate, but then print the article to standard output rather than sending it to the server. -N is accepted as as synonym for compatibility with C News. -h Normally, this flag should always be given. It indicates that the article consists of headers, a blank line, and then the message body. If it is omitted, the input is taken to be just the body of the message, and any desired headers have to be specified with command-line options as described above. -O By default, an Organization header will be added if none is present in the article. To prevent adding the default (from organization in inn.conf), use this flag. -p port Connect to the specified port on the server rather than to the default (port 119). -R Reject all control messages. -S Do not attempt to append ~/.signature to the message, even if it exists. NOTES
If the NNTP server requests authentication, inews will try to read passwd.nntp to get the username and password to use and will therefore need read access to that file. This is typically done by making that file group-readable and adding all users who should be able to use inews to post to that server to the appropriate group. inews used to do even more than it does now, and all of the remaining checks that are not dependent on the user running inews should probably be removed in favor of letting the news server handle them. Since INN's inews uses inn.conf and some other corners of an INN installation, it's not very appropriate as a general stand-alone inews program for general use on a system that's not running a news server. Other, more suitable versions of inews are available as part of various Unix news clients or by themselves. HISTORY
Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews. Rewritten in POD by Russ Allbery <rra@stanford.edu>. $Id: inews.pod 8941 2010-01-28 20:45:16Z iulius $ SEE ALSO
inn.conf(5), passwd.nntp(5), rnews(1). INN 2.5.2 2010-02-08 INEWS(1)
All times are GMT -4. The time now is 07:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy