VirtualHost directives need to be placed in a configuration file that apache
reads at startup. The other main ones you can command are <Directory> <Files>
and <Location>
I recommend having the administrator add the line in the conf for you and do a
graceful, a very easy procedure so I doubt they'll complain.
On Sat, 24 Jun 2000, David Spitz wrote:
> Help!
>
> I am trying to set up a VirtualHost directive on a remotely-hosted web
> server running Apache. I do not have control over httpd.conf; I can only
> control my document root. As a result, I can only make configuration changes
> using .htaccess in specific directories (right?).
>
> I have used this method to successfully add my own MIME types (using AddType
> in an .htaccess file, in a specific directory).
>
> However, when I try to set up a VirtualHost, I get HTTP 500's. Here are the
> entire contents of my .htaccess file:
>
> # --- Begin
> AddType text/x-hdml .hdml
> AddType text/vnd.wap.wml .wml
>
> # When the following is uncommented, I get HTTP 500's:
> <VirtualHost 207.69.41.139>
> ServerName wap.windwire.com
> DocumentRoot /wap
> </VirtualHost>
> # --- End
>
> Is this even possible? If I can't use VirtualHosts to accomplish this, is
> there anything else I can do?
>
> thanks!
> David
>
>
>
> --
> ----------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
--
<uhm>ms</uhm>
"One World, one Web, one Program" - Microsoft promotional ad
"Ein Volk, ein Reich, ein Fuhrer" - Adolf Hitler
--
----------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]