You are here: Re: Getting value of servername in <VirtualHost> « PHP Programming Language « IT news, forums, messages
Re: Getting value of servername in <VirtualHost>

Posted by Toby A Inkster on 07/27/07 22:35

laredotornado@zipmail.com wrote:

> I'm using PHP 4.4.4 with Apache 2. How would I get the value of the
> "ServerName" attribute of the "<VirtualHost> directive in the Apache
> configuration (httpd.conf) file?

Are you able to edit the httpd.conf file? If so, look at the
UseCanonicalName directive.

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 37 days, 1:58.]

Cryptography Challenge
http://tobyinkster.co.uk/blog/2007/07/24/crypto-challenge/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация