Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to get php to show only domain name?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
grakker
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2002
Posts: 100

PostPosted: Thu Aug 29, 2002 9:51 pm    Post subject: How to get php to show only domain name? Reply with quote

squirrelmail and phpwiki both want to use my hostname.domainname.com in the URL of the browser. For example, if I log onto squirrelmail, instead of looking like this:

http://www.bar.com/mail/src/login.php

it looks like this:

http://foo.bar.com/mail/src/login.php

Not earth shattering, but pissing me off. I've used the gallery php program for displaying pictures on my site and it doesn't do this, so I'm thinking it's just an application thing. I've tried to look at the source, but I don't know php at all. Looks pretty easy to pick up, but if someone could tell me if I'm missing some config in my commonapache.conf or somewhere I'd REALLY appreciate it.
Back to top
View user's profile Send private message
grakker
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2002
Posts: 100

PostPosted: Fri Aug 30, 2002 4:04 am    Post subject: Reply with quote

Might as well continue my habit on here of answering my own question after a little while. I had forgotten to set ServerName to www.bar.com in my /etc/apache/conf/apache.conf. Works just like I expect now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum