| |
| |
| |
|
Page: 1 2 3
Comments:
<0> ok so lets try this, set the listen and servername port to ip:81 listen:81 <0> restart <1> ok <1> done <1> works here. and faster now <1> with port 80 it took a lil while to access it <0> .head http://213.161.228.52:81 <2> 200 OK <2> Server: Apache/2.2.0 (Win32) DAV/2 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_autoindex_color PHP/5.1.1 <0> ok <0> so <0> something is blocking port 80, you or your ISP <2> I heard your priest was blocking port 80, you or your ISP! <0> if your end is set, then its the ISP <1> does it work now? <0> yes
<1> with port 81 ? <1> nice <0> yes <0> you really need to config that <0> really. <1> why ? <1> it works :) <0> want me to make it not work? <1> lol no :) <0> then go config that thing <1> config what ? <0> . <0> /msg <0> one sec.. <0> go to that page. <0> read. <2> 1064 - You have an error in your SQL syntax; <0> hum <0> MySQL reloaded. <0> .head https://billing.managed.com/order/orderwiz.php?v=5 <2> 500 Can't connect to billing.managed.com:443 (connect: Connection refused) <0> .head https://billing.managed.com/order/orderwiz.php?v=5 <2> 500 Can't connect to billing.managed.com:443 (connect: Connection refused) <3> anyone had any luck with mod_chroot? <4> instead of running mod_chroot <4> people should har*** the commiters <4> so that openbsd's chroot patch gets into apache ... <3> ok <5> mod chroot works.. <5> but veins is right.. openbsd's chroot patch works better <4> well chroot should not be in a module <4> its just idiotic <3> how do you recommend chrooting apache on freebsd? <4> mod_chroot <3> i've got problems installing it, LoadModule chroot_module /usr/lib/apache/1.3/mod_chroot.so <3> /usr/lib/apache/1.3/mod_chroot.so <3> does not exist <4> well ... <3> using ./configure --add-module /usr/home/root/mod_chroot-0.5/src/apache13/mod_chroot.c <3> when configuring apache 1.3 <4> you need to build the module <4> then copy the .so to the appropriate place <3> yes, it displays mod_chroot.c in httpd -l <6> httpd -l displays built in modules. <6> you don't need to load the shared object <7> hi all <7> any ideea on how to redirect all traffic from domain.com/blah/whatever.html to www.domain.com/blah/whatever.html ? <8> I use php for that <8> that's probably the only way <7> mod_rewrite must do it too <8> mod_rewrite doesn't redirect, it just proxies <7> BarkerJr <7> wake up <7> you are dreaming <7> RewriteEngine On <7> RewriteCond %{HTTP_REFERER} !^$ [NC] <7> RewriteCond %{HTTP_REFERER} !^http://www.domain.com [NC] <7> RewriteRule ^.*$ http://www.domain.com/ [R,L] <8> there you go <8> but I sit by what I said. that won't send a redirect to the client <7> i don`t want a redirect to the client
<8> <7> any ideea on how to redirect... <8> w/e <7> from the apache webserver <7> that is what i ment :P <7> sorry <8> so, what's the point to rewrite domain.com to www.domain.com? <8> not that I know rewrite enough to tell you how <8> but if the client still sees it as domain.com, and it's the same server, who cares? <6> BarkerJr: it does redirect, if you tell it to. <8> ah ok <8> well, when you find out, let me know. I want to redirect www.barkerjr.net to barkerjr.net <9> anything in a rewrite rule result with a protocol in it <9> without a P <9> will redirect <6> RewriteCond %{HTTP_HOST} ^barkerjr.net$ [NC] RewriteRule / http://www.barkerjr.net/ [QSA] <6> meh, RewriteRule /(.*) http://www.barkerjr.net/$1 [QSA] <9> although <9> .apachedoc redirect context <2> redirect(mod_alias) context: server config, virtual host, directory, .htaccess <9> just use that <8> thx <8> I figure it's probably more efficient than doing it n php <7> madbovine: not working <7> RewriteEngine On <7> RewriteCond %{HTTP_HOST} ^www.hyperactiv.ro$ [NC] <7> RewriteRule /(.*) http://www.hyperactiv.ro/$1 [QSA] <7> i have bothe created hyperactiv.ro and www.hyperactiv.ro as vhosts <7> please check <6> so you're redirecting www.hyperactiv.ro to www.hyperactiv.ro? <8> oh dear :P <7> eek <7> sorry <7> 3 am here <7> thanks <6> no worries <7> same problem <7> RewriteEngine On <7> RewriteCond %{HTTP_HOST} ^hyperactiv.ro$ [NC] <7> RewriteRule /(.*) http://www.hyperactiv.ro/$1 [QSA] <7> now it works as i deleted the vhost <7> now it works as i deleted the hyperactiv.ro vhost <8> so... RewriteRule /(.*) http://barkerjr.net/$1 [QSA,PT,R=permanent] <6> I really don't get people that creata vhosts for both domain.tld and www.domain.tld, when the issue can easily be solved with ServerAlias <8> I don't create them, my hoster does <6> nah that was a reference to 03:24 < OmiDex> now it works as i deleted the hyperactiv.ro vhost <8> oh <8> now I'm getting this: http://www.barkerjr.net/Stories/ <6> don't use permanent redirection? <6> [QSA,PT,R] <8> why? <8> now I get "Found" <6> hm wtf, should be transparent methinks. <8> yeah, but it's redirecting on itself, too <6> try just [QSA,PT] - R is not needed if you specify a full url. <8> the "here" link is to itself <8> which makes no sense <6> ideed <6> indeed <8> RewriteCond %{HTTP_HOST} ^www.barkerjr.net$ [NC] <8> RewriteRule /(.*) http://barkerjr.net/$1 [QSA,PT] <6> I think the server is misconfigured. <2> I heard your dog was misconfigured, madbovine <6> shut up, p`u <2> ok, madbovine <6> thanks <6> BarkerJr: I wonder why a 302 would need an ErrorDocument <8> Note: There is a special feature: When you prefix a substitution field with http://thishost[:thisport] then mod_rewrite automatically strips it out. <8> how nice <8> that's why it's ignoring the http:// <6> erm <8> y'know, the doc page I'm reading is inconsistant <8> in one place it says it strips out the http://host, but then the examples show it working <2> woooord <10> I am trying to setup Virtual Hosts. In my vhosts.d dir I have three files domain1.com.conf, domain2.com.conf, domain3.com.conf. Apache is taking the first CONF file and making all the other domains use that. How do I tell Apache to use the CONF file for the domain it's getting a request for. All use the same IP.
Return to
#apache or Go to some related
logs:
#linuxhelp amara ta kcina #linux kentoky'fried #gentoo +BOASTS MOUNT ISA + x minhom #MissKitten good bobies #linux
|
|