FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Unable to set avatars in user CP
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Unable to set avatars in user CP [message #20089 is a reply to message #20070] Fri, 24 September 2004 16:59 Go to previous messageGo to previous message
jmccombs is currently offline  jmccombs   United States
Messages: 8
Registered: September 2004
Location: Northern Virginia
Karma:
Junior Member
You have PM. Smile

I wonder.. We're using two web servers for this;

1. standard Apache 1.3.31/mod_ssl - servers non-dynamic content (static HTML, images, etc) on serverA
2. an 'application' Apache 1.3.31, which serves PHP, Perl and java on serverB.

We us a combination of mod_rewrite and mod_proxy to get content back to the app server. e.g.

<Location /forum>
  RewriteEngine On
  RewriteRule /forum/(.*) http://10.0.3.147:80/forum/$1 [P]
</Location>


is found in our web servers httpd.conf file. I've run into problems with this kind of a setup before, where apps such as XMB, Cerberus, and others try and auto-detect the hostname when they set cookies or do session security checking. Usually, I have to hack up the source a bit when this is done. Create a findhostname() function and replace all the $SERVER_NAME variables with the output from findhostname(); and for session security, I usually have to reference $SERVER['http_x_forwarded_for'] or whatever that variable is instead of trusting the requester variable.

I didn't think I'd need to do this, since Fud's install process asked me to set the cookie domain....


Do pyromaniacs wear blazers?

[Updated on: Fri, 24 September 2004 17:01]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: "mark all messages read" - redirection
Next Topic: SQL Error if search contains special characters
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 03:51:34 GMT 2024

Total time taken to generate the page: 0.07530 seconds