Domain Search | www.


Related Pages:

Any ideas on this guys ive setup apache2conf to rotatelog my logs file ive restarted apache but the accesslog
I am trying to prevent people from typing in -indexphpblablabla as I am using mod_rewrite for pretty URLs Therefore







three liens
lines

rici thanks

you've got five minutes to tell me it didn't work

i think that's towerniece_'s job...

http://www.deviantart.com/index.php -- Apparently they didn't make it either.

RedirectMatch 404 \.myext$ ?

i kinda missed towerniece_'s question while i was faffing around with READMEs

one line?

and i'm not really up to fixing it
oooh, maybe you're right

he is

it happens once a week, and I am due.
days are running out...

All I ever wanted was for HTTP requests including .php to be sent a "redirect" signal to /.

indeed, i forgot that

all i ever wanted was a billion usd... *shrugs*
shit happens

use arreyder's one instead. just one line

and no ? on the end, that was me doubting I could possibly be right
not part of the solution

let's step back a bit. have you tried RewriteLog? Are you taking enough breath between trying these suggestions to restart apache?

Naturally (restarting).

also not sure if need prepend a * ? does redirectmatch do partials?

i think so

i suggested rewritelog and rewriteloglevel... he may have missed it...
redirectmatch does regex

most of the *match things are partial

you did, as did he apparently

although apparently it doesn't do !

since you can get full with ^...$

Isn't there some "not Apache internal shit" flag/condition or something?

that'd be [NS]

Is there an irc for apache beginners?

[NS]

[NS] is No Subrequesta rewrite flagee mod_rewrite

hehe

Is that Italy?

pab yes, here

Italian.

no it's redirectnese

no, but we're got irc beginners enough

RewriteRule .php / [R, NS]?

arreyder, then man...I'm way out of my league. What's the diff between httpd.conf and the *-enabled's?
uarreyder, then man...I'm way out of my league. What's the diff between httpd.conf and the *-enabled's?/u

tiis

what distro?

tias

tias is Try it and See - if you want to know if something will work, give it a go. If not, then you can ask why it didn't work as expected

debian config

debian config is split in several files. The main configuration file is /etc/apache2/apache2.conf. It loads modules from /etc/apache2/mods-enabled/* (symlinks from mods-available dir) and it loads VirtualHosts from /etc/apache2/sites-enabled/* (symlinked from /etc/apache2/sites-available)also ask about "a2enmod" see also /usr/share/doc/apache2/README.etc ask fajita about debian vhost config for vhosts specifics

debian lenny

debian

debian is "we complicate it for you so you don't have to" or see /usr/share/doc/apache*/README.Debian* or http://wiki.apache.org/httpd/Platform/DebianLike

rici++

YAY!
It r teh works.
RewriteRule .php / [R,NS]
It WAS as simple as that!
NS was the magical string that made it work.

took a year off my life just wathing the exhange
no sure it was worth it :P

indeed

What?

is this at an ispwhat

noodl++

luur's turn now..

noodl, thx...that helps

i think he's alreayd sorted

we fixed him

at least he should be...

good job. can i die now?

no

How come none of you suggested this? Hmm? Hmm? :|

see all fixed.

you've been voted to be here 24/7 to deal with rewrite

did you see the links fajuta provided abour debian configuration info?

- didnt wrok

bah

humbug

doh

Who said Homer could speak

RedirectMatch 404 \.myext$

yes, you disappeared when arreyder corrected me
that one should work

or did we decide it needs a *

must have missed that vote, like all the others 'cept blair 9 years ago. oh well, there's democracy for you..

roger

wilco

you don't need a star

but I want a star!

arreyder, am going there now

:o

arreyder++

Basically, there is no difference in what order these lines are put, right?

arreyder it worked

thank you

thanksss

Excluding ones that are attached.

yay!
welcome

If I have one rule first for redirecting, and then a different one that says something else, the second will run?

unless the first one has [L]

not necessarily
what rici said

no, it won't. rewrite rules are sensitive to order

Damn.

Damn. is Is is_are there an alternative

or if your first rewrite rule works in a way that the ones below it don't catch anymore...

Well, that just makes this even weirder.
[L]

[L] is for last

Shouldn't Apache know what is last?

it knows which one comes last
[L] indicates that the rule (if it matches) is to be the Last rewrite of this URL
otherwise, it will keep going.

Um...

arreyder, and before I get too wrapped up....thank you too

I'm sure that... is useful... sometimes...

unless it's in per-dir context in which there's a second round with the new uri

it actually is for rewriteconds

sometimes you want to do multiple rewrites, sure
first, fix things up
then figure out what to do with it

[L]'s the only way to chain multiple rewriterules to a single set of conditions

ive not done anything yet!

where conditions == a block of rewriteconds

not quite only
[N]
uh

most of these flags aren't even documented... :P

[C]

[C] is "and" instead of "OR"

[N] is 'next|N' (next round)

OK, noodl.

those ones are all in the 2.2 docs at least

but yes, rici's right as usual, [C]'s the way to chain rules to conditions

ah so... i want to say new flags then...
not in 2.0 (???)

[L]'s the only way to chain multiple rewriterules to a single set of conditions --- DrB told that to me once...

so... let's blame niq!

yeah, he's probably asleep

heh

how do you use [L] to chain rewrite rules to a single set of conditions?

i might've missed the context, but hold on... i'm cloning my hard drive right now due to partition screw up...

no worries. i'm going to bed, anyway. it was just an idle question
see y'all later

nite rici

basically something like rewritecond... rewritecond... rewriterule [l] ... rewriterule[l]
that would let all the rewriterules be used for those rewriteconds
*possibly be used

really?
rewrite rules are a constant wonder
lua scripts are much easier

heh

i've been playing with them with lighty's magnet
v. cool

but didn't you hear? DrBacchus is setting a motion to do away with all apache directives and just have mod_rewrite directives...
because nobody listens to granny
granny

Granny Weatherwax tells us the most important thing about magic is when _not_ to use it. The same is true of mod_rewrite.
uGranny Weatherwax tells us the most important thing about magic is when _not_ to use it. The same is true of mod_rewrite./u

i'm not meaning that it'll run all the rewriterules...
if the first rewriterule doesn't catch, it'll go to the second one, etc..
and stop on the first match
it makes it so you don't have to do the same rewritecond multiple times...

i thought that was what [c] did

then all i can do with a clear conscious is blame niq
:P

no, that's not right either

hey everyone, i setup an svn server host recently, and i got it working with apache so that it is browsable... I am wondering if there is anyway to get it to do syntax highlighting

i think noodl's got it
i think there are thing you can use with viewcvs or other such cgi's
there's also some kind of syntax colouring module iirc, not part of the official distro

if you find a way, i'd like to hear about it

mod_transform, viewcvs, viewsvn.. lots of ways, few of them related to svn directly

yeah mod_highlight
that's chipig's
mod_highlight

mod_highlight is a hack by chipig to embed the Colorer-Take5 Library into an Apache 2 Filter Module or http://www.outoforder.cc/projects/apache/mod_highlight/

right

he doesn't recommend using it... :P

what megaspaz said, s/mod_transform/mof_highlight/

and i couldn't get it to work... even with chipig's help...
*shrugs*

at least you got it to compile..

yeah
heh
it's the colorer library that's the fsckin' killer

i've got "hook syntax colouring to cvstrac" on my todo list
yeah, they all suck
i personally use vim's dump-to-html feature, and cache it, but not for cvstrac

so it sounds like i am hearing 'no easy way'

nice
i'm still trying to get c/cpp omnifunc to work... .

well thanks for the info guys

trac has an add-on
it's a megainstall but it's really nice

yeah, i tango'd with trac once before.. it was a a bastard to instal, i gave up before i could even see the finish line with a telescope

DrEvilan evil telescope?/DrEvil

as one man on a closed project, it is hardly worth the effort

what language?

Profanity is the inevitable linguistic crutch of the inarticulate blockhead

well thanks again guys, and keep up the good work

hi

what's up, indraveni.

fajita++

I have vhosts configured in my system and
only one is working fine, for wha ever I give
like 1 virtual host , is having document Root /var/www/BOSS
and the other vhost has documentRoot /var/www/boss

Hey guys, what would you recommend me read to get a good grip on the httpd.conf directives? I spent a lot of time setting up a file, but don't really understand how all the directives are used or what can reside inside the other... there are just too many settings

and only one is workign at time, thta is which ever is displayed first that is only displayed
why is it so

faq1

exactly. For example, NameVirtualHost *:80 must be used with VirtualHost *:80

name based vhosts

name based vhosts is http://httpd.apache.org/docs/2.2/vhosts/name-based.html#using

Is there a way to force a specific connection on your computer to close the connection? Like say I use netstat to find a connection that I don't want to be there. Is there a command that let's me end it?

httpd.apache.org

fajita, what is the different if I give Namevirtualhost [ipaddress];80 and NameVirtualhost *:80

wish i knew

namevirtualhost denotes and interface:port
using an ipaddress is specifying a specific interface... using * catches everything

I attempted to read it, but most of the time it only list individual directives and not how they can be nested. For instance looking in the sample httpd-ssl.conf file I noticed inside a virtualhost there were location directives....

so if you have namevirtualhost *:80 and namevirtualhost ip:80, the second vhosts won't catch...
siulung the context tells you which scope directives can be in
context

context is http://httpd.apache.org/docs/mod/directive-dict.html#Context http://httpd.apache.org/docs/2.0/mod/directive-dict.html#Context http://httpd.apache.org/docs/2.2/mod/directive-dict.html#Context

^^

fajita, I have my vhost configuration here http://pastebin.ca/569432

huh?

you messed up the vhost on line 43
^^

fajita, on the downlaods.bosslinux.in is poiting correctly for me

OK, indraveni.

you're missing the closing /virtualhost
fajita's a bot, so you know...
and run httpd -S
httpd -S

httpd -S tells you what your virtualhost configuration is.

Did anyone see my question?

megaspaz, this is the rigth file http://pastebin.ca/569434
fajita, I am in debain and thus I dont have the httpd command

...but indraveni is nearly 8 to 10 jobs running when i start apache...

then use apache2 -S
debian-- # renaming binaries

indraveni, Do you understand that fajita is not a human? It's a bot; a program

megaspaz, oh
bourreau, ok

ok, now my question...

is it common to store all settings in one file, the httpd.conf or use includes?

you can do either

I know, but what is the most common way?

megaspaz, what should I see fromt he the outout of apache2 -S

some people like monolithic configs, some people break the configs up
paste it

megaspaz, its showing my vhost entries

on a pastebin of course
created equal

or VirtualHost, for example). Put directives somewhere that makes sense to you, and where you will be able to find them next time.

^^

Is there a way to force a specific connection to close? Say I use netstat to find a connection that I don't want, is there a command that would shut down the connection? (Either on Windows XP or Ubuntu)

i saw your question, but i don't know the answer, so yes, i'm ignoring you... but not because i think your question's stupid...

couple ways to do it

http://pastebin.ca/569436
megaspaz, http://pastebin.ca/569436

How is that?

you have a namevirtualhost *:80 somewhere...

block it with iptables, or route it to null, or kill the process that has the socket open

ah

megaspaz, its in site-enabled/default

you have stuff in sites-enabled
yep

the first two will of course block all connections to the host, not just kill the current connection

megaspaz, I have to chage it to NameVirtualHost 203.129.255.181;80
?

fyi, debian does it's vhosts in sites-enabled. if you don't want to use sites-enabled, i'd suggest commenting out Include sites-enabled

netstat -antp will give you the process name and pid if you go the kill route. that might kill more than just the single connection though.

That'd be fine. The reason I want to do so is because when I run morpheus and use netstat -a -b, it shows connections to what I believe to be ads

to virtualhost ip:80

so killing the PID wouldn't work

megaspaz, ok

you only need a particular namevirtualhost line once

blocks

Because the connection I want to close and the connection I want to keep are under the same PID

since you're using apache2.conf for vhosts, keep that one...

Alright, thanks arreyder. I'm sure you'll all be seeing more of me
g'night

that sounded like a threat... :P

bah

humbug

I was typing the iptables commands for him

heh

was going to use the freenode addresses in the examples
see if he'd disconnect him self

lol

you should try that on noodl

megaspaz, now my settings are somting like thsi
megaspaz, I changed everything to *:80

including the stufff in virtualhost?
faq1

exactly. For example, NameVirtualHost *:80 must be used with VirtualHost *:80

megaspaz, http://pastebin.ca/569442 see this
megaspaz, yes everything

looks okey dokey
restart apache then

megaspaz, I restarted
megaspaz, now you please check http://packages.bossilnux.in and http://downloads.bosslinux.in

then i guess stuff should be working...
don't forget to explicitely clear your browser cache from the menu
firefox has a notoriously persistent browser cache...

megaspaz, yes, you please try accessing the above two links
both show the same content, where as it should show different, as per my vhost settings

actually the first shows an eror
*error
You tried to access the address http://packages.bossilnux.in/ which is currently unavailable
servertokens http://packages.bossilnux.in/

Couldn't get a useful value for http://packages.bossilnux.in/

megaspaz, but over here, its showing me the same page of downloads.bosslinux.in

i can't verify that
paste your current configs... the ones in apache2.conf and in sites-enabled

megaspaz, whole file?

hrm...
yeah
need to see if you have anything conflicing anywhere...

megaspaz, ok
megaspaz, could you please tell me, apache pastebin, so that it highlights the apache configs

apc

Try using http://apache.pastebin.ca - It's a good pastebin, and is even set up to highlight Apache 'stuff'.

megaspaz, http://apache.pastebin.ca/569448

ah
i think i see the issue
your include lines come first before your vhost lines in apache.conf
so... iirc, apache will load the conf file in sites-enabled first
you should put the namevirtualhost line in the sites-enabled file or move all the include lines to the bottom of the apache2.conf file

megaspaz, o
megaspaz, ok
megaspaz, I ahve moved the NameVirtualHost entry to the sites-enabled file and commented it in apache2.conf file
megaspaz, restarted the apache and tried again
megaspaz, but still the same is the situation

did you move the namevirtualhost line to the top of the sites-enabled file?

packages.bosslinux.in and downloads.bosslinux.in are pointing to the same location
megaspaz, yes I moved it to the top

i couldn't really tell you that. like i said it could just be browser cache

did you move the namevirtualhost line to the top of the sites-enabled file?

^^

megaspaz, yes I moved it to the top of the site-enabled/000-default file

lemme see your sites-enabled file and the output of apache2 -S

megaspaz, here it is
megaspaz, http://apache.pastebin.ca/569454

and is there anyway you can fix packages.blah.in so i can get to it?

megaspaz, yes. if I am moving the packages.bosslinux.in vhost entry above the downloads.bosslinux.in vhost entry then its working fine

interesting... you're apache2 -S output is showing the configurations coming from apache2.conf

megaspaz, yes it comes from apache2.conf file

i thought you said you moved all your vhosts to sites-enabled
and the vhost in sites-enabled doesn't have a Servername set...
you're not even using this file...
if it were me, I'd comment out the include sites-enabled line in apache2.conf or I'd move all the vhosts configurations to sites-enabled/000-default

megaspaz, I dint move my vhost entries to sites-enabled
megaspaz, only the NameVirtualHost entry I moved there
megaspaz, now I moved my packages.bosslinux.in vhost entry above the downloads.bosslinux.in vhost block and now both seem to point to packages.bosslinux.in, check packages.bosslinux.in and downloads.bosslinux.in once

well at least they both resolve...
really what i would try is to move all the vhost configurations to sites-enabled/000-default

megaspaz, ok, i will move all my vhost entries to sites enabled now

and pastebin the file
sorry about all the pasting you're having to do...

megaspaz, no problem, actually you aer helping me
megaspaz, is there any mulitple line comment option for apache2.conf file?

no
one comment per line
and no inline comments either

megaspaz, after I paste all my vhost entries into my apache2.conf file
megaspaz, nothing more to do in apache2.conf file?

i don't think so...

blocks to sites-enabled right?

megaspaz, yes

just make sure you copy only those completely and any comments you have for them...

megaspaz, I copied, and now my files are
megaspaz, http://apache.pastebin.ca/569468
megaspaz, but now, what ever I am typing in the browser, like bosslinux.in, packages.bosslinux.in,downloads.bosslinux.in. it opens a pages which says "apache2 works!"
megaspaz, its the home page of apache2 after installation

comment line 19
and try some other name for one of the vhosts documentroot
change the documentroot for downloads to something completely different

megaspaz, ok

this is just wiered...

megaspaz, its showing the contents of /var/www folder
megaspaz, for any doman name
megaspaz, and try some other name for one of the vhosts documentroot , I dint understand this?

well you have /var/www/boss for packages and /var/www/BOSS for downloads
i was saying change the /var/www/BOSS one to something completely different...

megaspaz, ok.
but still its showing the /var/www/ content, what ever I am typing in the browser

but if commenting line 19 is whacking everything, i'm not really sure what the hell is going on here...
the config looks correct...
what is line 101?

megaspaz, thats the rewriterule for plone to run on apache server

i wonder if plone could mess things up...

megaspaz, prev when we had all these vhost entries in the apach2.conf file,
its working fine
no issues no this
megaspaz, only thing is, downloads and the packages are overwritten by one another
and my plone site was also working fine at that time
megaspaz, ?

megaspaz, is this /apache-default/ redirection coded by debian?

i really don't know what to tell you...
there's something going on with your set up...

megaspaz, please dont say that
megaspaz, I though today my problem will be solved with your help

it should be working already...
the fact that it isn't is mind boggling...
you have different servernames for all your vhosts... you have namevirtualhost and the right value for virtualhost
different docroots

megaspaz, but I dont understand after chaging the vhost entries to sites-enabled, its not working
megaspaz, there is no difference in pacing them in site-enabled or apache2.conf file
*placing

there really shouldn't be
well depending on where in apache2.conf you put them in conjunction the include sites-enabled line
that include sites-enabled line, can you move it to where the other include lines are at?

megaspaz, but my Incluse sites-enabled line is in the end of the apache2.conf ile
megaspaz, you said that it comes before the vhost entries?

that only really mattered when you had vhosts in apache2.conf

megaspaz, yes
megaspaz, I am thinking to shift the whole vhost back to my apache2.conf file as atleast partial content of my setup is working

what i said was since you had namevirtualhosts in apache2.conf and the include line was before it, to move the include line to the bottom

megaspaz,

not to move to the bottom and then move namevirtualhost to sites-enabled
it was do one or the other
yeah move it back... we'll try to tackle it tomorrow...

megaspaz, ok
megaspaz, now I moved alll my vhost entried to the top of sites-enabled file
just after the NameVirtualHost *:80

um... ok...

megaspaz, and now its working as prev
megaspaz, with the same problem of packages.bosslinux.in and downloads.bosslinux.in pointing to the same path

yeah. i see that... i can't explain it though... as i said before, *nix is case sensitive so BOSS != boss...
so unless BOSS and boss have the same content, they shouldn't be goign to the same place...

megaspaz, ok, so I renamed BOSS to Downloads

and it's going to the same place still right?

megaspaz, not only that, after packages.bosslinux.in vhost block which ever block is there, is rediredted to the first vhost block

ok... paste your sites-enabled conf again...
completely boggling...
do you have global redirects going on in apache2.conf?

megaspaz, global redirects?

redirect or rewriterules in apache2.conf

megaspaz, no nothing like that

ok...
how about in httpd.conf?
i did see a whole bunch of location blocks in apache2.conf
are those for a particular vhost?

megaspaz, no they are seperate for the websvn I have used thos
megaspaz, I can remove all those

yeah. let's get rid of stuff you're not using anymore...

megaspaz, yes just wait for 3 mins
please

megaspaz is no more.
:-/
He's dead.

megaspaz,

megaspaz, is this /apache-default/ redirection coded by debian?

megaspaz, now I cleaned my apache2.conf file

mmhmm

megaspaz, finally my files are like this

but i'm getting a 404 error for the same url path for the 2 urls
i really have no idea what the fuck is going on anymore
maybe jMCg will take a crack at this...

megaspaz, http://apache.pastebin.ca/569506
megaspaz, I deactivated those url's for a moment
megaspaz, now they are up
megaspaz, check

nope

Yes, meaybe he will

404 not found... The requested URL /wiki/index.php/Main_Page was not found on this server.
for both the different urls
i'd cheer if you could solve it... it seems like such a simple vhost thing...

Hm.
apache2 -S

yeah, i had him check that too... it looked fine...

jMCg, shall i paste here

ok my hard drive has finished being copied from the borked hard drive... time to see if it works...
apologies

megaspaz, its ok

brb

jMCg,
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:80 is a NameVirtualHost
default server packages.bosslinux.in (/etc/apache2/sites-enabled/000-default:3)
port 80 namevhost packages.bosslinux.in (/etc/apache2/sites-enabled/000-default:3)
port 80 namevhost downloads.bosslinux.in (/etc/apache2/sites-enabled/000-default:30)
port 80 namevhost wiki.bosslinux.in (/etc/apache2/sites-enabled/000-default:38)
port 80 namevhost bosslinux.in (/etc/apache2/sites-enabled/000-default:49)
port 80 namevhost bosslinux.in (/etc/apache2/sites-enabled/000-default:59)
Syntax OK
sorry

You will be!!

Oh.. heheheh

jMCg, whats going on with my configuration ,

Well.. first of all, the reason why you cannot reach your servers by their server alias [www.foo.bar.in] is DNS.

i forgot i need to resize the clusters...
(partition magic)--
parted--

I suggest taking a look at dig www.dowloads.bosslinux.in

jMCg, the DNs is configured well
jMCg, downloads is working fine if I move downloads.bosslinux.in vhost entry above the pacakges.bosslinux.in
jMCg, in the sense which ever is coming first is working fine

that really shouldn't matter...
for name based vhosts apache will match the host request to a vhost servername/serveralias
it's supposed to anyway...
but just not for you...

Anyways.. you can pretty much get rid of the last vhost..

and that's what's confusing me...

jMCg, the later entry is just been redirected to the former one

I have, completely forgotten, how very ugly Debian's default config looks like :-/

jMCg, only the name changes
jMCg, only the httpd.conf file is named as apache2.conf file
no other changes I believe
jMCg, please help me out on this
this is very urgent for me

I'm doing my best.
I suggest you really get rid of the last vhost.

jMCg, last vhost is for my plone based site which I am deploying using apche web server
jMCg, there lies my actuall website

you have at least two vhosts with the same document root and the same server name.
Each vhost must have it's own ServerName and it's own DocumentRoot.

jMCg, where?

The last two.
http://apache.pastebin.ca/569506
And ou pasted the output of apache2 -S
s/ou/y&/

jMCg, in sites-enable/000-default file you are talking about?

Yes.

jMCg, yes, during commenting and uncommenting its misplaced,
jMCg, now I commented the line 472
jMCg, still the same is the situation
jMCg, this is my apache2 -S output
http://apache.pastebin.ca/569527

I know. Ive seen this, and it's still have two vhosts with the same name.
The last two, that is.
If I was your apache, I'd be confused, too, with such a config.

jMCg, but I am not knwoing from where its taking these entried
jMCg, but I am not knwoing from where its taking these entries
jMCg, I had a line ServerName bosslinux.in in my apache2.conf file in the starting
and now I commented this line, still its showing like two Servername with bosslinux.in
jMCg, now I added a new ServerName entry in the last vhost block, say demo.bosslinux.in
jMCg, this is how it looks http://apache.pastebin.ca/569535

Hmm... so far for my first hit that DNS is NOT fine.
They all point IN CNAME to web.fwd.easydns.com.... and I have NO IDEA whatsoeverwhatthatmeans.

jMCg, they are pointed like that only

Okay.. .so in the very theory, this should workout all fine: http://www.sdnp.undp.org/rc/areas/tech/web/apachevirt.html

jMCg, I will go for lunch and be back

http://mitrick.homeip.net/

mod_autoindex

mod_autoindex is http://httpd.apache.org/docs-2.0/mod/mod_autoindex.html or http://httpd.apache.org/docs/mod/mod_autoindex.html

there ^^

Thank you, gryzor

Hi, afair there was a possibility to list the configured vhosts in current running apache instance. Anyone knows? I have one vhost, that i can't reach ..

I'm running Apache 2.0 on a Windows 2K3 server host ... but I get this error when I'm trying to load a CGI script: WebStats.cgi is not executable; ensure interpreted scripts have "#!" first line
the cgi host script is a C++ project
so it doesn't need an interpreter, I guess?

hi all, just need a quick hand setting a https directory using .htaccess on a apache 1.3; I've olready generated the key and certificate...
on my server I put SSLEngine on
SSLOptions +FakeBasicAuth +ExportCertData +CompatEnvVars +StrictRequire
SSLCertificateFile /etc/ssl/certs/server.crt
SSLCertificateKeyFile /etc/ssl/private/server.key
anyone?

SSLEngine context

server config, virtual host

yeah, I know, that's why I'm asking which directives let me specify key and certificate in .htaccess context

non
because ssl hosting handshaking is done way earlier than apache knows which directory to access

ok, how do noramally do it in a server where they provide the utility to gen keys and cert.....
did they do it automatically?

generating key, csr and cert is "totally" different thing from serving ssl site

that's right, but I think you are then llowed to you it for the specified domain
to use it for the specified domain

elaborate

You make no sense, try to rephrase your question and elaborate on what you want, what you tried, and what didn't work (paste the error message you see in the error log, usually named error_log or error.log). Also tell us what platform you are on and what version of apache you are using.

this is my .htaccess now SSLOptions +FakeBasicAuth +ExportCertData +CompatEnvVars +StrictRequire

well, you need to define ssl configurations in server or vhost context. period.

SSLOptions context

server config, virtual host, directory, .htaccess

(with ssl configurations I meant defining key, cert, turning cheap ssl on etc)

I'm using a Cpanel module...

excuse

Hash table has woodworm

excuse

Lightning strikes.

besides ssl site basicly needs own static ip hosting address (unless you use non-standard port) so that requires some work from hosting operator too

Hi world.

hello ani

apache, as I said erlier is 1.3.37 (Unix) on fedora linux 2.6.19.2-grsec
Ok, so basically I have to tell them I need this or that configuration...

yep. If they do business, I think they know what needs to be done

1 2007] [error] access to /home/mmm/public_html/secure/403.shtml failed for 81.100.164.121, reason: SSL connection
this is the error log
Thanks lamp

you are using SSLRequireSSL?
SSLRequireSSL?

SSLRequireSSL is http://httpd.apache.org/docs-2.0/mod/mod_ssl.html#sslrequiressl

though that doesn't help you with setting up ssl site, it only forbids serving some stuff without ssl certificates hosting encryption

sorry, I tried it and disabled it the second after
http works fine but if I ask for a https conn I get an unexpected error with code -1236 (or something like that)

contact your hosting provider, tell that you would want/need https site and ask what does it take.

there is a button called "Submit a Support Request", but then it turns out the service is disabled :-)
ok, found the "create new support ticket" section, thanks again guys see you

paste

No, nopaste

hm o.o

pastebin

Please use http://apache.pastebin.ca/

tahnx

allowoverride2C?
allowoverride?

AllowOverride tells Apache what things you wish to permit in .htaccess files. See http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride

How do I get mod_rewrite to just internally rewrite a URL, without issuing a 302?
That is

don' put the whole uri

I want to redirect internally to a different virtual host in the same apache instance
But if I want to jump to a different virtual host internally?

oh, a different virtual host...
make them the same with serveralias? I

I'm trying to work around some annoying and bizarre mod-perl bugs here
This is the nicest way I could think of
I could do something pretty nasty with mod_proxy, but I'd rather not

make them the same with serveralias? I

I don't understand?

makeboth vhosts one

My problem is that '/' is set as a mod-perl handler, which causes all sorts of pain if I want '/blogs/' to be handle outside that
As mod_perl sort of ass rapes the default handler and then fucks the corpse a little

pastein doesn't work o.o


Related Topic:

Any ideas on this guys ive setup apache2conf to rotatelog my logs file ive restarted apache but the accesslog
I am trying to prevent people from typing in -indexphpblablabla as I am using mod_rewrite for pretty URLs Therefore