Virtualhost problem

federico

Joined: 2002-08-20
Posts: 6
Posted: Tue, 2002-08-20 14:07

Hi,
I have two registered sudomain-dns2go and dhs-and
would like to use virtualhost for apache, i have noticed
that with dns2go(primary) everything is ok, but with the
second one i cannot login into gallery. Any idea about
virtualhost(name-based) in gallery?
thanks

 
CarpetBagger
CarpetBagger's picture

Joined: 2002-08-09
Posts: 49
Posted: Tue, 2002-08-20 15:44

Works just fine for me under Linux and Apache 1.3x

Don't forget to add the

Quote:
<Directory /YOURSITEPATH/gallery>
AllowOverride Options FileInfo
</Directory>

and

Quote:
<VirtualHost YOURIP>
ServerAdmin YOUR@E-MAIL
DocumentRoot /YOURSITEPATH
ServerName YOUR_URL_HERE
</VirtualHost>

 
louienet
louienet's picture

Joined: 2002-09-12
Posts: 11
Posted: Thu, 2002-09-12 05:51

It may be that it doesn't look like you logged in until you cancel the login window and click on one of of your albums. After you go into one of your albums, you'll see your administration links.

Good luck,
Louie (just started playing w/ virtual domains &amp; gallery)

 
federico

Joined: 2002-08-20
Posts: 6
Posted: Sat, 2002-10-05 01:53

Thanks.
Id found the solution months ago. the httpd.conf was well configured
for the two virtualhosts, and i think the problem came from configure.php
where there are two line: gallery's and album's url which causes
inconvinient....so i just modified those two lines:
"http://myweb.dns2go.com/gallery" into
$REQUEST_URL . "/gallery"

and that's it, very simple!