Monday, 21 May 2012, 06:30:02
*
20 Guests, 1 User
Maia

Shoutbox

Last 10 Shouts:

 

Abominatus

Yesterday at 21:09:15
I seem to be in.
 

Mishchia

Yesterday at 21:00:02
It looks like the error codes have received a much needed upgrade. I've gone from 33 to 37. Yay! Or something.
 

Abominatus

Yesterday at 20:39:21
Well, the servers are allegedly back up. However, they seem to have limited concurrency rather severely.
 

Mishchia

Yesterday at 19:18:12
Grr, Blizz should rename the game to Diablo 33 :(
 

Skraa

Yesterday at 18:33:46
Forced D3 break gives me finally an excuse for some housework. Sucks..
 

Abominatus

Yesterday at 18:20:45
Posted 2 minutes ago: "At this time we are unable to provide an ETA on when these issues will be resolved. We will continue to update you with information as it comes to light."
 

Abominatus

Yesterday at 18:19:42
Well, the error has now morphed into Error 3003. This is quite an outage
 

maky

Yesterday at 17:54:53
*vampiric molten +something else  ,forgot what
plagued i think
 

maky

Yesterday at 17:54:19
act 3 hell (~halfway), we got a "vampiric molten " pack
(quote) Row: "I refuse"
it was also a running-away type of mob so it pulled many many other packs too
 

Abominatus

Yesterday at 17:05:42
Actually, I find vampiric mortar to be pretty horrific, given how many pets I have out for them to kill  :'(

Show 50 latest

Author Topic: Server tweaking  (Read 428 times)

Offline Flippant

  • Administrator
  • Forum Taskmaster
  • *****
  • Posts: 1,676
  • Karma: 41
Server tweaking
« on: Wednesday, 03 Oct 2007, 10:04:45 »
Just to let you know, I'm tweaking some server config files through-out the day - that is, when I get some spare time.

You shouldn't have or see any problems, of course it could all go horribly wrong  ::)

/pokes the server with a big stick

Offline Flippant

  • Administrator
  • Forum Taskmaster
  • *****
  • Posts: 1,676
  • Karma: 41
Re: Server tweaking
« Reply #1 on: Thursday, 04 Oct 2007, 03:26:35 »
Bah! Didn't work, was trying to get http://www.warcraft-prophecy.net to redirect onto http://warcraft-prophecy.net.

Which would resolve a prob with people using www. and getting errors. Oh well, back to the 'drawing board'.

ph

  • Guest
Re: Server tweaking
« Reply #2 on: Thursday, 04 Oct 2007, 09:10:19 »
mod_rewrite maybe?

BR,
Ph.

Offline Flippant

  • Administrator
  • Forum Taskmaster
  • *****
  • Posts: 1,676
  • Karma: 41
Re: Server tweaking
« Reply #3 on: Thursday, 04 Oct 2007, 16:11:03 »
mod_rewrite maybe?

BR,
Ph.

Was having a look into that, but confused me a bit - most of the rewrites I've see are for domain.net rewriting to www.domain.net, whereas I want it to go the other way round. I hardly ever write htaccess files so not too familiar with why there are several different ways to write the file, that is, the regular expression.

It's probably all easy, just that I prefer to understand everything that the expression is looking for, rather than simply reading 'this works' :)

ph

  • Guest
Re: Server tweaking
« Reply #4 on: Thursday, 04 Oct 2007, 17:16:07 »
Hmm, I'm sure mod_rewrite would do the trick here. You should use HTTP_HOST www.warcraft-prophecy.net as a condition and set a rewrite rule like ^.*$ to http://warcraft-prophecy.net.

I can't remember the exact syntax but it would be something like:
RewriteCond %{HTTP_HOST} www.warcraft-prophecy.net
RewriteRule ^.*$ http://warcraft-prophecy.net [with some options here].

If you want to have deep understanding of this module there's a good documentation and guide with examples on httpd.apache.org.

And about htaccess file - to be honest I've never used mod_rewrite with .htaccess. I worked with apache config file, although it should work with .htaccess as long as the module is loaded by the apache server.

Hope this helps,
Ph.

PS. I don't get any error message when I visit www.warcraft-prophecy.net ;-).

PS2. mod_rewrite is rather heavy tool, I think there could be some Apache directives like "Alias" which could also do the trick, but I'm not sure about it.