Re: Apache 1.3 OS X 10.4 help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 25 Feb 2010, at 07:10, Lester Caine wrote:

Jonathan Zuckerman wrote:
                        From: "Rupert Reid" <isinglive@xxxxxxxxxxxxxx
What I want to achieve is that when
                                    a browser clicks on http://
80.189.101.120/isinglive/ rosario.php <http://80.189.101.120/ isinglive/rosario.php>,
                                    I want apache to send  http://
                                    isinglive.co.uk/rosario.php
<http://isinglive.co.uk/ rosario.php> to the browser (not the former) or if http://80.189.101.120/ cantoenvivo/filosofia.php
                                    is  clicked show
http://cantoenvivo.com/ filosofia.php.

                                    How can I get apache to do
dynamically this dynamically for each
                                    virtual domain?

It is really important for me that
                                    the URL as described is sent  to
the browser - without it browsers
                                    cannot bookmark pages.

                                    If there is any more information
                                    that you need to help with this
please let me know and i will post it.

Cutt the crap .... then people might realize who is asking and who is answering


    Im not doing anything weird at all.  I am going to each page, and
    bringing down the book mark menu and selecting Bookmark This Page
    and then select Done on the window.

I'm saying your webpage is weird, can you explain why your links are
using the IP instead of the hostname?

Jonathan ... Daniel is just trying to help Robert out.
It is Robert that has the 'weird webpages', and I suspect is is because he is unable to view his pages locally because a third party is providing the dns mapping.

Robert ... first thing to do is replace the ip addresses with the proper host address http://80.189.101.120/isinglive/ -> http:// isinglive.co.uk/ then at least we have the page looking right. This may give you a problem LOOKING at the site from your machine, in which case adding
80.189.101.120 isinglive.co.uk
to the 'host' file should get around that problem, but the / isinglive/ bit will then be a problem locally, but that is the bit apache virtual hosts should be taking care of. Before I had proper dns serving of my own website I used to have to look at it from the outside. I could not see it properly inside my IP address ;)

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


Thanks for the advice Lester,

Robert ... first thing to do is replace the ip addresses with the proper host address http://80.189.101.120/isinglive/ -> http:// isinglive.co.uk/ then at least we have the page looking right.

If i do this in dns, then won't requests loop back to itself and never reach my machine?

This may give you a problem LOOKING at the site from your machine, in which case adding
80.189.101.120 isinglive.co.uk

Without changing the changing the hosts file, I am able to view the site locally at http:isinglive.co.uk/rootfolder/ or by http:// 192.168.1.4/

This is my setup:

This is what is in the hosts file:
	192.168.1.4	isinglive.co.uk

This is what is in the <VirtualHost>:

	<VirtualHost 192.168.1.4>
   	  ServerAdmin	admin@xxxxxxxxxxxxxxx
  	  DocumentRoot /Server/isinglive
 	  ServerName	www.isinglive.co.uk
    	  ServerAlias	isinglive
	</VirtualHost>

This is what is in the OSX Network Preferences
	Show = isinglive.co.uk
	TCP/IP
		Configure iPv4 = manually
		iP Address = 192.168.1.4

This is what the router has in LAN clients
	IP Address 	Hostname 		MAC 			Type
	192.168.1.4 	isinglive.co.uk 	00:19:e3:3b:b7:13	Static

What is wrong with this setup?

Thanks Rupert


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux