Domain Search | www.


Related Pages:

Any ideas on this guys ive setup apache2conf to rotatelog my logs file ive restarted apache but the accesslog
Is there a way to force a specific connection on your computer to close the connection Like say I use netstat







u mean once i'm in thailand?

i guess the bandwidth charges are a limitation. any company with a fat enough pipe to upload their backups should be able to afford a tape-changing monkey
load mod_proxy_http
yep

sure thing
i'm surprised he wants to use me actually because when he asked me what sites i've done in the past all i showed him was that lyrics site i made
which isn't that amazing..
though tbh web web design isn't really rocket science

lovely noodl

get a cut worked out up front. it's amazingly easy to get shafted by deals like this..

hes already offered me 15%

*hugs 'n buns*

and i've thought a lot about what i'd do if he shafted me

ok I have a more general question

i realised i could do a website then if he shafts me i'll just pull it, cos i'll host it on my own webhosting

yeah, that helps

my apache seems to start itself on all my servers ips
even when I give it specific ips for only certain sites

problem is once the money rolls in he could easily afford to pay some guy £500 for a decent site and tell me to go away

anyone know why in vista it says cannot create file when i make my password?

don't configure vhosts with Listen

unless..

unless.. is Are is_are +you trying to install apache on your router

permissions in vista are a pain it seems.. is there an sudo equivalent for vista?

thats what i want to know

customers will have to login on my website so if he wants to screw me and get a new site hes got to go through the hassle of telling all the customers to signup on a new site etc

if not, munge the permissions in folder properties, i guess

actually the more i think about it the more i realise they could just move all the customers from the business i'm a partner in to another business website host and shut the original down

there's no Listen. I have one NameVirtualHost 72... and two virtual host definitions

and the only way i could do anything is if i could afford to sue them over it

sorry, don't *confuse* vhosts with Listen. the Listen directive tells apache what interfaces to bind to

another thing is they could put some dodgy business costs on the business so on paper the profit is very low
so again i'd end up with nothing

openssl x509 -fingerprint -in cert.pem

ah ok, that probably solves that then

apache won't start without a Listen directive (it's the only mandatory one). if you're using a debianish config (*spits*), see ports.conf

noodl what do u think the chances are that the guy will screw me over?

http://www.rsync.net/
US$2.80/GB/mo.

ok i just game myself full user priv and i still cannot make the file

i'm sure you'll work it out. i work on a startup project but i get a salary instead of a big cut of any final profits. that's potentially bad in the long term, but lets me live in .th and feed my family so.. meh

you live in .th
?

yep

cool

'tis
rici http://www.flickr.com/photos/28727541@N00/

ok cool

#windows might be able to help.. there's not usually much doze-fu here

i really appreciate your opinion because u have a lot more life experience than me. i'm essentially new to everything..

nick flicks
nice i mean
god, my typing keeps getting worse

i actually figured it out
fajita

yes, thecount?

ok

neat. there's a need to add ssl certificates hosting docs to the httpd wiki, so if you feel up to it, that'd be a good tip to start if off

fajita mod_auth_basic

mod_auth_basic is only available to apache 2.2

how do you uninstall Apache 1.3.x from source?
i do make uninstall but errors out

huh?

Please state the nature of your computing emergency

if anyone needs to install apache in vista tell them to go in start, programs, accessories and right click command promt and run as administrator

rm -rf /usr/local/apache

it gives sudo for vista

any idea what this means when I run apache2 restart?: error retrieving current directory: getcwd: cannot access parent directories

i'm not familliar with that one.. check your logging directives and ServerRoot for broken paths

rici- i found the problem.

ok cool

probably you need to be root to do that

localhost was defined right in the middle of a long string of ip's to allow

it also tells me that the address is already in use

right

though netstat -tap shows nothing on port 80

i did mention that case, no?

maybe its loading listen twice?

thanks for you insight.

see: http://wiki.apache.org/httpd/Errors/CouldNotDetermineServerName

congrats

yay. rah rah. you want a cookie?

Can someone help me with this error:
Syntax error on line 70 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/mod_dav_svn.so into server: /usr/lib/libsvn_fs_base-1.so.0: undefined symbol: db_create

doh

Who said Homer could speak

it was loading Listen twice

rici i think you mentioneed hostnames and I kept reading right over "localhost"
i was looking for .com and .net ...

yeah, localhost is easy to miss
actually putting hostnames in allow/deny is a really bad idea

again thanks for your help

even localhost

guys, is mod_auth_basic built directly into Apache 2.2+??

although it does do paranoid lookup to avoid spoofs, you never know
it's a module, but a default build should provide it

at a guess the library path to bdb is hosed.. but really i think it's better to not use that support in svn anymore, if that's an option

excellent. I was trying to install it in a similar fashion to mod_sec, and was not finding any source anywhere, lol
thanks rici

ah, right, it's part of the official distro

crap...I missed what someone said

at a guess the library path to bdb is hosed.. but really i think it's better to not use that support in svn anymore, if that's an option

i already had it that way, noodl.

heh
config all mods
all mods

Look'sy here for a guide to compiling *ALL* modules. http://wiki.apache.org/httpd/Recipes/ConfigAllMods

I am running ./configure --with-apxs=/usr/sbin/apxs --without-berkeley-db

see here ^ for an example compile. the idea is to build everything up front then only load what you need

ok, so I need an htdocs file

he's probably got it

So, I still get the error even though I'm using without bdb support
uSo, I still get the error even though I'm using without bdb support/u

where can i find 1.3 apxs documentation?

thanks though, noodl.

it's mod_dav_svn that need it, not apache
or is that how you're compiling mod_dav_svn?

I'm confused... the ./configure was for making subversion

i suppose it is

it actually still didn't work

right, i was confused

i dont know what i am doing wrong
n/m
it works

Damn right it does

yeah fajita
i already had a folder in the folder i was making
vista wont write over a folder
i had to tell it a place that wasn't created yet

you did an ldd on that .so right?

how many users can i make passwords for?

17. after that you need to pay a licensing fee.

nice

rici++
as many as you like but over a certain limit you should consider using the dbm module for faster lookups

http://rafb.net/p/u3vA0B55.html

yeah, it was a joke. i couldn't resist
what the heck is /lib/tls
it's definitely linking to libdb4.2 though
regardless of your ./configure line

it is linking to berkeley?

apparently

anyone know what this means ?Cannot load /usr/local/httpd/libexec/libssl.so into server: /usr/local/httpd/libexec/libssl.so: cannot restore segment prot after reloc: Permission denied

WARNING: we have configured without BDB filesystem support You don't seem to have Berkeley DB version 4.0.14 or newer installed and linked to APR-UTIL. We have created Makefiles which will build without the Berkeley DB back-end; your repositories will use FSFS as the default back-end.
I get that when installing subversion

interesting
what os are you using

no idea. so, i'll hazard blaming selinux.

centos

centos is http://www.centos.org/ - CentOS is an Enterprise-class Linux Distribution derived from sources freely provided to the public by a prominent North American Enterprise Linux vendor. CentOS conforms fully with the upstream vendors redistribution policy and aims to be 100% binary compatible.

_

"a prominent North American Enterprise linux web hosting vendor".
nice

so turn of SE linux?

but you have /lib/tls/i686/libdb4.2.so no?
i mean, with the -

tias.. setenforcing 0

Hey, it worked !
The SSL/TLS-aware Apache webserver was
successfully installed on this website.
woot
i set my selinux to permissive
but i want security, is there a way to change selinux so it allows apache ssl?

dunno but #centos or #selinux or maybe even #fedora would. please let us know if you get a solution.
start by checking dmesg first.. the AVC message may tell you the offending booloean

http://rafb.net/p/co8Dh055.html

no kidding

hi, ive question about making www server via NAT
i install and configure apache
its working in LAN
no i try to make it work in internet via NAT

router

In order to access your web site behind a router, you must forward the port apache is listening on to your internal IP. Then you can access your site by pointing your browser to http://your external IP here:port. If your ISP blocks port 80, see 'port 80 redirection'. Instructions on how to forward a port using most common routers can be found at http://portforward.com

also i have non static hosting IP
so i use DDNS from dyndns.com and i configure my router to use it
i also route connection from public port 80 to private hosting port 80 on my local computer with server

is there a mysql DSO module?

but it is not working

"yes" but your question is rather vague.. what's it needed for?

when i type in url address nothing happened

well i wanna install phpbb
and i have mysql already installed and apache 1.3 already installed
and apache was installed with DSO support
what else do i need to do?

in that case you'll need php's mysql(i) extension rather than apache's

db_create

db_create: http://svn.haxx.se/users/archive-2003-08/0117.shtml

public port -start 80 public port - end 80 private port 80 type TCP host [server IP]

servertokens aafp244.neoplus.adsl.tpnet.pl

Couldn't get a useful value for http://aafp244.neoplus.adsl.tpnet.pl

i figure that router use its own www server so i change it (the router one) to port 8080 and try again but nothing happened
some ideas?

maybe you need to do a clean recompile of svn

michup fajita gave you some things to look at

./configure ./make ./make install ?
I've done that about 3 times in the last hour

i'd put a make clean in there

oh

just in case
before the ./configure

ok, I'll give that a shot

otherwise, you might need to check /etc/ld.so.conf and maybe run ldconfig

fajita i cant connect

sorry...

bot

I am a bot. I am not a sentient being. I cannot hold intelligent conversations.

oh

try the link fajita spat out for 'routers'

didn't work

oh, well.
so you still have the same output from ldd ?

noodl the bot needs training to give directed factoids dont you think

http://rafb.net/p/AB9ler89.html

ugh
i got a lump on my head

is subversion actually installing to the right place?

try running ldd on the bdb .so.. maybe it's got a missing dep

ugh? why quite a few miss what the bot tells them as their nick is not included

where is bdb.so ?

does /etd/ld.so.conf include an entry for /lib/tls/i686 ?

include ld.so.conf.d/*.conf
/usr/X11R6/lib
/usr/local/lib

/lib/tls/i686/libdb-4.2.s

that is the whole /etc/ld.so.conf file

could be in the included files too
see the first line

/lib/tls/libpthread.so.0 (0x00b50000)

/lib/tls/libc.so.6 (0x0099c000)

/lib/ld-linux.so.2 (0x00983000)

what distro are you using, by the way?

centos

centos is http://www.centos.org/ - CentOS is an Enterprise-class Linux Distribution derived from sources freely provided to the public by a prominent North American Enterprise Linux vendor. CentOS conforms fully with the upstream vendors redistribution policy and aims to be 100% binary compatible.

export LD_LIBRARY_PATH=/lib/tls/i686 and try again

that might not work
i'd add it to ld.so.conf if it's not there, and sudo ldconfig

include ld.so.conf.d/*.conf has: mysqlclient10-i386.conf xorg-x11-i386.conf

but i don't see why subversion is building with that library when it says it isn't
that suggests that there are two svn installs, possibly in different places
... of course, i'm generally suspicious of Enterprise-class Linux Distributions, particularly those based on prominent but nameless Enterprise Liinux vendors

do i go to geek hell if i admit to quite liking vista's ui?

yes, probably. i like it too
but i still don't use it. i prefer mac os x

speshly north merkin ones

"the names have been changed to avoid terrorist attacks"

this may entertain.. http://daringfireball.net/2007/06/brushed_metal_leopard

export LD_LIBRARY_PATH=/lib/tls/i686 and try again
is that I command I'm supposed to run?
or am I supposed to put that somewhere?

hello. can someone tell me what the Apache2 APR headers are/for/located?

you could try that but your enterprise-class security system might suppress it
however, it can't hurt

try what

It's usually better to go ahead and try, rather than asking if something will work. You learn more that way. Do or do not not, there is no try

that command

ok...run that command...then clean, build, make, make install?

i how do i remove the password prompt?
delete.htaccess?

no, then run apache

ohh

htaccess purpose

Don't confuse htaccess with password-protection. The purpose of htaccess is to enable users to configure apache locally for their own directories, when they have no privilege to do so in httpd.conf. Using htaccess slows the server. Also rewriterules and redirects are more complex in htaccess

you've got two things going on:

^

one is that you have a libsvn apparently incorrectly linked to berkeley, after you told it not to
and the other is that it can't dynamically link to berkeley
now, the second problem is usually because ldconfig hasn't been run

that didn't help...same error

well i set up the password and user info but not it says access denied

but the fact that the library links to berkeley suggests that something else is going on

damn it
now it lets me in without acking for a password
asking*
vista is horrible

/usr/bin/svn /usr/local/bin/svn /usr/share/man/man1/svn.1.gz

yeah, you have both /usr/bin/svn and /usr/local/bin/svn
are they the same?
diff /usr/bin/svn /usr/local/bin/svn

how do I tell?

if it says nothing, they're the same

guess they are the same then
7
0
look different

indeed

what do I need to do to run ldconfig?

and the second one was created today i believe

so is there a better way to put a login for my server?

so that's not a problem, but you might not be putting the new mod_dav_svn in the right place

LoadModule dav_svn_module /usr/lib/apache/mod_dav_svn.so

right
but mod_dav_svn.so is being built by subversion, right?

? I think so

wait..

it is uncommenting it in httpd.conf...when I do a make install

the question is, did the make install put it in /usr/lib/apache/ or somewhere else

when i make the htaccess file shouldn't a hyper terminal icon show up?
because it's not
but it did with xp
do you know fajita?

i am a she.

i know
i am doing all the same stuff as in xp
but it's not setting up and i dont know why
when i made the htaccess file a ht icon appeard in xp
anyhelp?

Can someone please help me with my server?

the install is working with: /usr/lib/apache/mod_dav_svn.so
So, I think it is pointing to the right one?

ok, so the next question is where it is installing libsvn_fs_base-1.so

I'm using a NAT-enabled router and I have a server (along with some other computers) on the LAN. I can view my server from other computers in the network, but not from outside of it. I tried configuring the router and my server to allow port forwarding, but it still can't be viewed from outside the network.

it is not

it's not?

It isn't output to the screen that it put it anywhere

but it's linking to it, no?

i would do a scan on your external IP to make sure that you can view the port being forwarded

using nmap?

as a quick test you could put your server in the dmz and see if it works then
yeah

I search all the output for ./configure make and make install...and that name doesn't exist

what 'arguments' (the -a -n etc. settings after the command) should I use, and what is dmz?

dmz forwards all ports to the computer you put in the dmz.

i believe you.
that would explain why it's linked to libdb

is what i do often

should I have DHCP disabled?

any ideas on how to solve this problem?

sec

no need to disable dhcp

ok

you using webmin?

when I use nmap, the output is much longer than the scroll bar's range; how can I view more of the output?
nm, I got it
using | more
It came up with a lot of open ports...am I just looking to see if the port I'm forwarding (8080) is on there?

did you already put the system in the dmz? if not you shouldn't see any more open ports then what you forwarded

no I never put it in the dmz...but there are a lot of open ports
hundreds

i just did a scan on you and found no open ports

but 8080 says http-proxy

you sure you didn't scan the internal IP and not 68.105.156.x

positive

bourreau paste me exactly what you typed after nmap

nmap -v -P0 68.105.156.X
(without the X)

what router?

linksys

check again to make sure you forwarded the correct port to the correct computer. you can screen shot it and put it on a pastebin if you want
i can assure you no ports are open. only thing i can think of is that your router/andor/modem is pushing you right back inside your network when you try to do anything on your own IP
looks like this right http://homepage.mac.com/car1son/linksys_port_fwd_afp.jpg ?

libsvn_fs_base-1 is definitely in the subversion tarball

hmm

no no, I'm using two different computers
the one I'm talking on now is not the server computer
but they're on the same network

but still inside of the network right?
if your showing all your ports opent hen something strange is happening on your end. youc an also put your nmap resolts into a pastebin and link them if you want

yeah I see it too

but even still; I've checked it and it has port 8080 forwarded to my server

wait...maybe I don't

actaully linksys window should look more like this http://www.tzo.com/MainPageSupport/HowToPage/Images_how-to/linksysrouter-wrt54gs-ports.gif
its not showing on the outside.

right, it looks like that, just I'm only forwarding one port
port 808
0
8080*
OH, I think I might know why you can't scan it....

why?

try now again, please

trying

I had "Block Anonymous Internet Requests"
checked

I can't seem to find it

I forgot that I put it on last night

what is the path you are seeing it in the tarball?
I just downloaded the tarball today
subversion-1.4.3.tar.gz

still nothing
if your seeing more then what you are forwarding then your the one seeing the wrong thing

does my server need to be on?

it would be really good for this

lol
ok I turned it on

i should still be detecting a port i think, some routers will just stop the port forwarding if its not on though
is everything accessable now?

?

is Fu tryin to say tht i should specifcially ldconfig tht specific library

if you mean is the server running and the ports configured to forward, then yes

yup thats what i ment
if i can't see it this time then you should change your port to 8000 and see if it works then. forward both in your router and change on the servers httpd.conf
yeah nothing. so try that change.

ok, one second

hum can't find anything on them blocking 8080. still looking though. they do block 80 and 25 and i think a bunch of higher up ports

in the conf file, what exactly should I put in there? Cus I've heard of three different things that should be put in it

hello?

I've heard of PORT, LISTEN, and ServerName
I've been using ServerName

i'm not sure. whenever i have to change the ports i just do a seach in the config file for the last port it was on and change all the ports. normaly its 2 or 3
be back shortly

yes im here
im here

add some dummy text files your apache directory
then post your IP again

ok, I'm gonna take a quick 5-min break too, but when you get back try scanning it again

i have you dynDNS before and it takes a while to get the bugs worked out

shit im not englishman what do you mean but dummy?

a hello world file

oh i see

make a txt file with the words Hello world. save that file in your public apache director so i can see it
are you logged into dynDNS website?
i need to reboot i will be back in ~5min

what tar ball did you search...I can't find that file

but there is for example in my main folder aaaa index.html file
im waiting then

i looked at the subversion subversion
http://svn.collab.net/repos/svn/trunk/subversion/

maybe I got a bad build?

i have no idea
you're building from source, right?

right

i assumed you'd downloaded the tarball from svn

yeah, I did

i'd expect it to put libsvn-blah in /usr/local/lib if it's putting the executable in /usr/local/bin

ok, stupid questions

There are no stupid questions. But there sure seem to be a lot of inquisitive idiots. ;-)

how do I uninstall the currently installed subversion?

there was your issue. your up and working

does sftp support raw commands?

make uninstall
*** No rule to make target `uninstall'. Stop.
or do I just leave it and install over the top?

lol bourreau nice page

usually, just install it over the top

ok

you have to set --prefix correctly

I just downloaded another tar and am still not finding the file

i'm guessing it does right
because sftp is just normal TCP connections encoded through an ssh tunnel
so the support is the same
just encoded and decoded at each end

I am way confused...do I have 2 installs of subversion?

apparently

so, what is my best approach at fixing this?

probably centos installed one for you
i'm just guessing.

or maybe I did it a while ago and forgot about it

possibly
but you've got two svn executables
do you have svn like stuff in /usr/local/lib ?

yes

do they have today's date?

yes

well, you have two installs then

heh heh

and apparently the one you installed today is linking to the other one
so that's the core of your problem.

ohhhh
sooo, how do I remove one...or how do I fix it?

well.
this is why people invented package managers
if centos installed the old one for you, you can probably remove it using whatever Enterprise-level package manager they provide
otherwise, about all you can do is try to figure out all the relevant files and delete them.

http://dpaste.com/12366/ Can anyone tell me what I'm doing wrong? (I've change NameVirtualHost *:80 to * since pasting). Every domain/subdomain has the behavior of the 'default' vhost... it doesn't seem to be matching the others at all

I'm thinking yum or rpm ?

yup or rpp

good, good, you can help me with my config :|

noodl, shush

hello

to determine if any of those files were installed via your package manager, rpm -qf /path/to/your/wibblie

there is in my home directory in public_html/index.html with "aaaa" text also im log in to my dyndns.org account
and also on archlinux someone tells me that he can see my pages
no problem
and i cant

faq1

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

i dunno, but i can see your test apache index.html too

^

i can see your site here, the php test at http://mapety.homelinux.org/testphp.php
i can see your site here, the php test at a href="http://mapety.homelinux.org/testphp.php"http://mapety.homelinux.org/testphp.php/a

give me your url/IP

noodl, I'm not using rpm, I'm on ubuntu
that said only the default one was ubuntu

subversion-1.4.3-0.1.el4.rf

see fajita's response to faq1. the rpm thing was for bbtech

are those three different files?

i have had the problem before. do you have other computers in your LAN?

but, yeah. that faq is good. i'd put the :80 back into the NameVirtualHost and add it to all the VirtualHost's

rici, yes they are

yes 3
with static IP
and router

In order to access your web site behind a router, you must forward the port apache is listening on to your internal IP. Then you can access your site by pointing your browser to http://your external IP here:port. If your ISP blocks port 80, see 'port 80 redirection'. Instructions on how to forward a port using most common routers can be found at http://portforward.com

and you're including them all?

rici, yeah, apache2.conf has an include line for that directory
er, sites-enabled I mean

right

goto one of those computers and do that localhost to see if you can connect and see the webpage
are you trying to view the website from the server?

rpm -e subversion-1.4.3-0.1.el4.rf
Failed dependencies:
how should I proceed?

i'm not an rpm expert
carefully would be my advice

if i use computer where is server i can access by localhost/aruru/index.html

it's telling you that there are packages which depend on subversion.

also i can use other computer and log in by 10.0.0.2/aruru/index.html

you should be able to get a list of them
fajita, nat?

nat is vnetwork address translation and the most common reason why trying a servers public ip while behind its NAT doesnt work

mapety.homelinux.org

so you are saying you can view the webpage from with in your network?

it is only mod_dav_svn-1.4.3-0.1.el4.rf.i386

well, remove both of them

ok

you need to decide between a/ keeping with your rpm installed versions of: apache, apr(-util), and any other modules or webapps that depend on those, or b/ scraping the lot and building everything from sauce

rici, so... what should I do?

suggestions?

change * to *:80 throughout

if you can access the webpage from within your network by using the servers IP then you know its working but not vissable by the out world
give me your URL

rici, I'm fairly sure there's a Listen 80 directive elsewhere in the conf... shouldn't that make *:80 unnecessary?

can't say because i missed most of this exchange and don't know what isn't working with regards to your problem

it seems like there isn't a way to uninstall the source copy of svn that I have already installed

it's never safe to make assumptions

URL given by dyndns?

Yes, assumptions make an ass out of you and mptions. :|

main problem is 2 installs of svn...so I was going to uninstall the rpm since that would be the easist to uninstall
unless you suggest otherwise

yes your URL for the public world to see. a www.domainName.com

mapety.homelinux.org

rici, slightly different behavior

YYYESSSSS!
WOOOT!

i've always gone with building everything from sauce, but that's 'cos i'm an apache pervert. i'd suggest documenting your current paths, `mv`ing the sauce built files to a backup directory, and trying whatever you were trying to achieve with the rpm versions first. if that doesn't do it, blat the rpms (there could be a long dependency chain with apr, subversion, apache, mod_p* etc)
i've always gone with building everything from sauce, but that's 'cos i'm an apache pervert. i'd suggest documenting your current paths, `mv`ing the sauce built files to a backup directory, and trying whatever you were trying to achieve with the rpm versions first. if that doesn't do it, blat the rpms (there could be a long dependency chain with apr, subversion, apache, mod_p* etc)

just the ip shows the default vhost, as expected, ps-mc.net shows the ps-mc vhost as expected, gwydion.ps-mc.net shows the ps-mc vhost, as -un-expected

i can see your directory but no text file?
did you add a text file?

I uninstalled the rpms

hehe, ok

and now subversion is working!

cool-io

rici++ perseverance

thanks for the help rici!

Hellu.

i add index.html
with aaaa
its location in system is /home/aruru/public_html/index.html

I am trying to prevent people from typing in "/index.php?blablabla" as I am using mod_rewrite for pretty URLs. Therefore, I would like any URL containing .php to redirect to /. With my current line in the config, it redirects eternally. How can I make it only loop this 1 time?

is that the working directory of apache?

your config says gwydion.ps-mc.com

and i can connect to apache to see it by localhost/aruru.index.html or 10.0.0.2/aruru/index.html

not net

yes
public_html

public_html is http://httpd.apache.org/docs-2.0/howto/public_html.html

rici, aw fuck :P I knew it was something stupid

are you trying to view the html file physicaly from the server?

Hellu?

rici, force of habit... having the .net as the development site for the .com is causing me confusion :P

no need to apologize
we all do stupid things, sometimes even in public
it's good for the sense of humility

looping

looping is http://rewrite.drbacchus.com/rewritewiki/Looping

Like that one time with a trench coat, a cucumber, and that police officer :|

^^

like i said its destination is in /home/aruru/public_html/index.html which is working directory for apache and i can connect to apache to see how it works by loopback or addres IP

don't forget the fake beard & the butter..

No, that was a different time. With a squirrel and the 3rd edition of the Dungeons and Dragons sourcebook.

damn that squirrel gets everywhere..

but you cannt see the aaa html file by using your URL?

Agreed. Horny little devil .

Is that a smiley or a "look up"?

I am the proud non-owner of all D&D sourcebooks :P
No, instead I muck around with an opensource mmo

a look up, to the looping factoid fajita burbled

do you plau rouge game?

No, just PlaneShift on occasion

yes
i cant see it using url

i cant see the aaa file

RedirectCond

on archlinux someone says thats the reason that some box routers dont like internal-external-internal routings

Thanks, noodl. Worked.

and give me advice to add in /etc/hosts alias to 10.0.0.2 mapety.homelinux.org
and it did work

i would not know about that. im not sure whats goin on here. if i can see your public directory but not the aaaa file that mean your IP is not being updated. do you have windows on your computer? if you do you could set up dynDNS there and use their gui monitor program to see if you are being update. on linux you shoudl try to finx out if you are geting your IP updated or if there is any problem

mrynit type http://mapety.homelinux.org/aruru
it should open index.html with aaaa file

i see aaaa
does this mean its all fixed? i have to go now. i hope i could help some.

if you type http:mapety.homelinux.org it will connect to destination directory in /var/www

if i go here http://mapety.homelinux.org/ i cannot see /aruru/
is /aruru in the public folder of apache?
gtg sry but good luck

thx for help

found you! on the blagotubes! you're famous! http://xkcd.com/c236.html

noodl, hehe
I like that :P The caption is even better though

pregnancy test and single coat hanger? yeah, that's make me hrmm..
trying to think of some other hrms... rubbing alchohol and a lighter? frozen peas and a small packets of condoms? i wanna get a small can of beans in here too somehow..

Mentos, diet coke, and condoms :P

pop!

pop is just worthless

"beautiful as the chance encounter of an umbrella and a sewing machine on a dissection table"
you can probably google for the history of that ...

goes off to do something else

TheCougar was helping me with something, but he's been gone for a while, so can someone else help me?
I'm having trouble making my server viewable by anything outside my network

traceroute

traceroute is 1the directory with the cgi-bin I want to execute.

that's not very helpful fajita..
try: traceroute your.host.name from outside your network

well that's the thing; I don't have any computers with me that are outside the network
unless there's a way around that
there's one computer in our network that can view the server by using its internal IP, but it won't view it using the external IP
btw, I have a NAT-enabled router and I'm using port forwarding (8000)

if you don't have any machines outside your network, how are you able to know it's not working?

I have other people check it for me

so get them to run traceroute

friends in other states, or people on IRC

i'm semi here

there was your issue. your up and working

lol bourreau nice page
thats from 22:28

oh wait, I was gone
what was the issue?

lol yeah you where
what issue?

there was your issue....

oh 8080 wasn't working. 8000 works

do you think 8080 was blocked?

Is there a way to avoid browsing of UserDir, but allowing that same path to be used as the DocumentRoot for user's vhost sites?

well if you changed in your config 8080 to 8000 and didn't change anything else in the config, and you changed 8080 to 8000 in the router port fortwarding and didn't change anything else. then I would have to say yes 8080 is blocked by your isp

hmm ok
now one more thing that has me puzzled....
there's a computer on our network (my aunt's) that can't find the page
but both of my computers can, and so can yours

firewall is blocking it possibly

can you think of any reason it would?
it's a pretty lame web page at the moment; not much to be scared of

firewalls are like that specialy if your trying to view it internaly. do you get anything when you try the external IP *which still may not work since it seams you have issues with that*
well it is the beginning of the end

no no; she CAN view it internally, but not externally

not the end of the beginning

hahaha

ah then no idea

hm, oh well
her problem I suppose
So, generally, how do you go about setting up a web page so that it displays a directory (like on all those linux peoples' pages where you can download files from)
or what should I look up

allow directory browsing in your conf. at that point you can use htaccess to limit people from being able to browse directories
i think by default you can do it

are you talking about defining a directory to look in by adding it to the end of the url?

what?

while that is what I'm talking about, I was wondering more about how you would make the home page display a hierchy
heiarchy
uh hiearchy

i'mt alking about you going to www.yourwebsite.com/directory and being able to see the files in it

I'm just gonna go get a few books about TCP/IP, PHP, cookies, SSI, etc

sounds good

and html of course

and apache

apache is the wrong tool for that.

well thank you very much for helping me

there is a lot of info in it
what do you mean?

bugger all, i dunno, thecougar

hrm, is he doing the same thing I'm doing?

alright, time for me to go. Thanks again, goodnight

need an invite

What is wrong with this?
Directory /home/
IndexOptions +FancyIndexing +FoldersFirst +DescriptionWidth=142
/Directory
I put 142 just to test it... it doesn't change, whether that's 142 or 42 or 10 or anything.

whats a virtualhost?

a virtualhost is http://httpd.apache.org/docs-2.2/mod/core.html#virtualhost or http://httpd.apache.org/docs/vhosts/ also see VirtualHost *:80

thx

stanza?

!context ReadmeName

readmename context

server config, virtual host, directory, .htaccess

Then its not working Its showing me the literal README file in a directory listing
I've got:
Directory /home/
IndexOptions +FoldersFirst +FancyIndexing +DescriptionWidth=142 +SuppressHTMLPreamble
AddDescription "PNG images" *.png
ReadmeName README
/Directory

what happens and what do you expect to happen?

stanzas overriding those settings

I am displayed the README as a file in the directory listing, not displaying the contents of it (as it does on Apache 1.3.x with the same struct)

"Filename must resolve to a document with a major content type of text/* (e.g., text/html, text/plain, etc.). "

$ HEAD http://neptune/~rkoconnor/README | grep Content-Type
Content-Type: text/plain; charset=utf-8

hmm

rici, No matching public_html structs

that's usually what the problem is

some tawdry hack or other came up with some vaguely useful extensions to mod_info for apache 2.2, try that

hrm

hrm2

kidding, of course

boy was that a long time ago
still it's nice that they're there

So uhm...
I should be using mod_info, and not mod_dir?

no, mod_info is to see what directives apply
although i don't remember if it would help with that one.

your mod_info additions are good stuff but rarely of use on this channel.. most times that they could be set up the user already answer's its own question

i used them a lot myself.
they're more useful with the patch to mod_perl that shows you the config generated by mod_perl
but i don't know if they ever actually deployed that patch

indeed

that's what i did it for, though.
and to sort through debian's exploding config system

heh

did you hook mod_perl or apreq?

there was a wierdness in the way mod_perl inserted stuff into the config tree
or actually, didn't.
i fixed it so that it did
nothing to do with apreq

Maybe it doesn't work in UserDir(s)

this is in the case where you generate configs with mod_perl

that's hairy

and difficult to debug if you can't see the end result.
hence the mod_info patch
not that i actually use mod_perl much, but i'm expecting it to be useful with mod_wombat

do you expect mod_wombat to make httpd3? and are we all going to have to learn lua?

i would have thought it would work with userdirs
are any of the options taking effect?
it looks likely, doesn't it?
and you should learn lua. it's fun.

halle lua!

megaspaz++ top punnage, for a merkin

what does your userdir line look like?

i can haz a cheezburger now, pls? k. thnx.

mods-enabled/userdir.conf: UserDir web
mods-enabled/userdir.conf: UserDir disabled root

when d. beckham & that spindly girl got married on thrones john holmes on radio 4 said: just goes to show, people in crass houses shouldn't stow thrones

heh

and ~rkconnors is actually /home/rkconnors/ ?
i suppose it is

rici, Yes

you said that descriptionwidth doesn't have any effect either?
although setting it to 142 isn't actually a very good test.

hi

niihau, nym.

you know that the readme file is at the bottom of the listing, right?
usually you'd suppress the preamble when using a header file.

Sure, HeaderName is the same thing, ignored

i can't seem to get mod_ssl to work, apache starts up ok, but it doesn't seem to be listening for https connections

It's been a while so I'm going to ask again in case anyone here now might now. What would cause apache to buffer a cgi application? According to the 1.3 changelog cgi should be unbuffered now, but if my app takes 3 minutes to run then the browser is not sent a thing until it completes and apache sends everything at once

HeaderName/ReadmeName are both ignored in user directories. No errors or warnings in the logs, cranked to max debug.

The app is not buffered if run from the console. So it isn't libc doing the buffering

netstat -tpan | grep 443 gets me nothing

many distros expect you to explicitly enable SSL either via the init script or in a config file (e.g. some require /etc/init.d/httpd startssl)

Any ideas how I can pretty up the user dir listings?

MrGrim, php_info seems to be working, as does the configtest when i run apachectl

I'm not sure how that relates to starting with SSL support
usually apache needs to be started with the -D SSL option as most default configs put SSL configuration behind if blocks

indexstylesheet

indexstylesheet is http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html#indexstylesheet or not in 1.x and 2.0

e.g. in gentoo I must specificy -D SSL in the /etc/conf.d/apache file

MrGrim, well, apachectl startssl is a no go

no... only gentoo puts everything behind ifdefines

RH/CentOS require the previously mentioned /etc/init.d/httpd startssl
incorrect
not everyone needs to, but if his apache is not listening for SSL connections that may be a cause
depending on how it was installed
i.e. who packaged it

although, /me does reuse his config a lot and he may have gotten rid of the minimal ifdefines or ifmodules that were there...
yeah, apache.org...

that or the config just doesn't have SSL in it

sure does

do you have his config?
erm
do you have caosters config?

who's caoster ?

me
no i don't have the config

the guy who's trying to get apache to listen for ssl connections

i should hope not...
what distro you on caoster ?

slackware

The hands-on distro that fits most needs, and is quite scalable. It is not for the faint of heart, however. The apache config it comes with is also reasonably well built or pretty old fashioned

oh... i know nothing about slackware...
summon thumbs the slackware biotch!

THUMBS THE SLACKWARE BIOTCH! THUMBS THE SLACKWARE BIOTCH! THUMBS THE SLACKWARE BIOTCH! THUMBS THE SLACKWARE BIOTCH! THUMBS THE SLACKWARE BIOTCH! THUMBS THE SLACKWARE BIOTCH! THUMBS THE SLACKWARE BIOTCH! COME TO ME!!!!!!

i do have a couple of ifdefines and ifmodules in my conf file

he uses slack exclusively... although i think he might use the sauce from apache.org and not the slackware package...

apache is about to make me cry

I use slack, but apache from source

I've asked it to stop buffering my cgi apps output
I even said please
and got on my knees

what language?

well, everything *important to me* from source

but it won't stop
C

oh shiznet

arg!

don't know nothing about buffering and c
i could tell you how to do it in perl or python...

Ok, ReadmeName and HeaderName don't work _at all_ in 2.2.3 on Debian

ah, that's a different issue then

readmename

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

I've tested that it isn't libc buffering by running it from the console and from lighttpd, it runs unbuffered on both
so I'm reasonbly sure apache is buffering it
but it shouldn't be

i don't know about c.

megaspaz, what config do you use?

i do know you can set perl scripts and python scripts and there's code that will cause both to not buffer...
i use sauce from apache.org

perl or python suffer from the interpreter buffers not apache
and the code to disable it disables the buffer for the languages interpreter

so i really couldn't tell you why c cgi would be different

apache itself should not be buffering
beyond basic chunking
which is why this is so damn aggravating

sounds reasonable... not really a good way for me to test... i just look at output and if it's in the right order, i say code works...

I've even poured over the apache code
and sure enough, it does unbuffered reads of stdin
this should be working :/
it does a select loop on the stdin, however
so I'm curious what would cause select to exit with stdin being readable
perhaps the select is not exiting until the app exits
if so, I do not know why
there are precious few C CGI coders left out there to ask, however

sweet
works
bloody damn ifdefines

heh

wait was I actually right?

yeah, we don't like 'em much here... the ifdefines that is...

yeah, there was one in ther

hence the bagging of gentoo's apache layout...

and it wasn't getting passed the parameter

http://rafb.net/p/R13rZ076.html
Why isn't that working?!

although don't know why the slackware package would be using ifdefines either...

at least gentoo will allow you to change the configuration through a simple config file instead of messing with the init script startup command

i don't mess with init script start up

that /etc/init.d/httpd startssl crap is about as lame as it gets

I tried relative path, absolute path, no path... they all fail

the new apache doesn't need to do that
actually apache in general doesn't need to deal with options in the init scripts...
never has...
well from 2.0 on up
if you want something to start up, you just uncomment the loadmodule line...
it really is that simple...
if you don't want a module to start up, you comment the loadmodule line...
there really is no need to have to be doing all these -D WHATEVER in some /etc/conf.d/apache2

at my job I deal with hundreds of servers based on cPanel... they just not put a version that can handle apache 2.0 in their RELEASE branch
and I'm sure it still treats the config like it's apache 1.3
just now*

yeah, cpanel is still stuck on apache1
although, i don't follow up on them much...

the lookup is a bit warped
headername

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

see the sentence under the example

actually most of the configs between all the apache versions can be reused... usually the only differences are module names... there are a few directives that aren't used, but pretty few...

Both HeaderName...

does 1.3 have includes?

includes

includes is handled by mod_include

include

include is http://httpd.apache.org/docs/2.2/mod/core.html#include and can take a file, directory, or shell wildcard as an argument.

you talking about the Include somefile.conf include? or SSI?

config include

ReadmeName /include/HEADER.html
^ also fails

http://httpd.apache.org/docs/1.3/mod/core.html#include

ah, so no wildcards until 1.3.27

Ok, it works when its global

Hrm. No. It's not working. I want "*.php*" in the URL to redirect to /. Once. I can't seem to get this working.

eh? RewriteCond %{REQUEST_URI} .php$ [NC]
RewriteRule ^ / [R,L]
doesn't work?

Look buddy, doesn't work is a strong statement. Does it sit on the couch all day? Does it want more money? Is it on IRC all the time? Be specific! Examples of what doesn't work (or the URL) tend to help too, or pastebin the config if that's the problem

ooh... but that might loop if you're using an index.php...
well...
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.

global as in outside of a directory?

Correct

What is correct depends entirely on what you're trying to do

that would be a bug...
whether that's an apache bug or something debian(insert distro) did is another story...

Its also ignored (globally) if it starts with a .

I use an index.php internally, yes, but I use fancy URLs to the outside. I want any .php request attempt to simply redirect to /.

I don't want HEADER.html displayed in the directory listing
So I called it .header.html
And now its ignored
mv it to header.html, change the config to point to it, and it works

well the problem being that index.php will also redirect unless you use another rewriteconde

indexignore

indexignore is http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html#indexignore

doh

Who said Homer could speak

right

Yeah... so what do you want me to do? :/

oo... even more curious...

so adding a RewriteCond %{REQEST_UR} !^/?index.php [NC]

.readme is ignored, .readme.html is not

should solve that

wtf.

Oh...

so in summation...

.readme is possibly the wrong mime type

RewriteCond %{REQEST_UR} .php [NC]

Then it should display it as text
no?

so adding a RewriteCond %{REQEST_UR} !^/?index.php [NC]

1.3 does

and then your rewriterule...

depends on your setup i guess

Is the ? a typo?
?index -- there.

no

What does it mean in that context?

it's a way of making the regex work in htaccess or in the server config

Well, this is in the config.

? means match 0 or 1 of the preceding character
so if you get index.php, match or if you get /index.php, match

Um...

block

and index.php won't work in server config
is what i meant to say

RewriteCond

RewriteCond is http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritecond

I always forget what [L] and [NC] etc. mean.
And then I cannot find it in the manual.

[l]

[l] is for last

[nc]

Case insensitive conditions or rules you'll get if you apply the [NC] flag!

thanks

i'm not following you...

Why can't you easily differ a remote request and an internal request for /index.php?

wha?

I just want to redirect USERS to / if they try to access that. Not Apache.

wha?

Apache just loops in an endless loop and I cannot get this working.

i told you how to break the loop
o.O
yep i did...

Well, it's not working. I'm doing something wrong.

paste what you got
apc

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

I haven't got anything now as I deleted it.
I can't see why this would require three lines instead of two.

um i told you why
if you tell apache redirect everything with the .php extension and you're using index.php, what do you think apache will do?
index.php as a directory index...
so you redirect everything .php except for index.php

RewriteRule .php / [R] -- Should only be one RewriteCond over that one, right?

if you tell apache redirect everything with the .php extension and you're using index.php, what do you think apache will do?

i really don't know how i can tell you this again any clearer

What I have means "Redirect any *.php* request to /"... as you know.
So there should only be one RewriteCond over it... right?

and you said you're using index.php

Yeah.

so think about it
will index.php match .php?
why yes it will
so what will apache do?
redirect

redirect is http://httpd.apache.org/docs-2.0/mod/mod_alias.html#redirect or http://httpd.apache.org/docs/mod/mod_alias.html#redirect or see 'Redirect Context'

and what will happen at the redirect?

And again I ask how to only make USERS affected by this.
Not Apache.

wha?
users get what apache serves
i mean is this trick question day?

The fucking RewriteCond is ignored.

http://apache.pastebin.ca/569366

RewriteCond %{REQUEST_URI} !index.php
Why would I wanna do that?

because it's in server config

I want index.php to be included.
But not by Apache.

that completely makes no sense
have a good evening

I just tried exactly what you had.
It is ignored.
A /index.php or /foobar.php request is not redirected to /.
It just shows the page for index.php and a 404 error for /foobar.php.

are you restarting apache?

Yes.

rewritelog

rewritelog is http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html#rewritelog http://httpd.apache.org/docs/mod/mod_rewrite.html#rewritelog. Use this logging to help design and track rewrite; see also rewriteloglevel; and cannot be used from .htaccess

rewriteloglevel

rewriteloglevel is http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewriteloglevel. RewriteLogLevel 9 is log everything...

and you sure this is going in your main apache config file?

what is it you're trying to achieve? i've not followed your adventures to far, so please summarise

Oh, shit. Sorry... forgot RewriteEngine all this time... fuck. :|

asshole

no, that's be (x)

trying to achieve http://apache.pastebin.ca/569366

still there?

he bailed

damn, i figured it out

yeah he quit
heh

It works for foobar.php, but index.php is not redirecting to / for users.

you don't want it to redirect to /

Yes, I do, for users.
But not internally for Apache.

that's why you will keep getting infinite loops

Well, the intention of this whole thing was to prevent users from finding out that I run PHP.
And possibly exploiting things.

oh fuck

first cond's redundant.. otherwise it's: redirect any php request to /

how is apache supposed to distinguish a request coming from a user versus a redirect? think about it. what does a redirect do?

except he uses index.php as a directoryindex

/index.php should therefore never be accepted from a browser request.
Because it really should be able to do that?
Because Apache is internal on the server?

oh, that sucks.. what context is this in?

server context

if one of you guys sees setuid tomorrow, tell him that the problem is indeed the mimetype
DefaultType happens too late.

your reality needs some adjustment.

in the directory section

OK. I use fancy URLs. http://www.example.com/news. This is rewritten internally. If a user goes to http://www.example.com/index.php or http://www.example.com/foobar.php, I want them to be redirected to /.

where are your rules with respect to context? htaccess, vhost, or directory/location in httpd.conf?

Config.

config is http://httpd.apache.org/docs/2.2/configuring.html#syntax

ok

AND vhost.

vhost is http://httpd.apache.org/docs-2.0/vhosts/ or http://httpd.apache.org/docs/vhosts/

you don't want redirect then
get rid of the [R]
you just want an alias

?!

you kept saying redirect so that's what we gave you

Redirecting is exactly what I want...

no it's not

I don't want internal rewriting, but an actual redirect for the user.

you want RewriteRule .php$ / [L]

rewriting isn't redirecting

really no you don't

Hmm.

you're never going to get what you want with redirecting
index.php will fuck you up everytime
because if index.php as a directory index
it will infinite loop

actually, what's towerniece_ after, full stop?

he wants any .php to show up in the browser as /

Your last thing caused an internal error...
Not show up, but redirect. A real HTTP redirect.

what do you have
really that's not going to happen

I do have a index.php, but it must never be accessed directly. It must only be accessed through my mod_rewrite rules.

and i'm gonna stop... you're giving me an already huge headache

This is the point. I want all .php request to fucking go to the fucking root.
How much clearer can I be?

how much clearer can i be? index.php as a directory index is the fucking root

clearer, but less sweary hopefully

I don't know why you keep repeating "directory index".
It's meaningless.

it's not meaningless

no it isnt

RewriteRule ^([A-Za-z0-9-]+).myext?$ / [L] - whats wrong with this

directoryindex

directoryindex is http://httpd.apache.org/docs/2.0/mod/mod_dir.html#directoryindex or http://httpd.apache.org/docs/mod/mod_dir.html#directoryindex

now we're getting somewhere. you need to figure out what a directory index is.

Any requests FROM THE USER for *.php* should be HTTP REDIRECTED to /.
Is that clear?

read up on directoryindex
i can't make it anymore clear

that's clear, what's also clear is that you're mistaken about what a redirect actually does.

if you have directory index set, it is what apache will deliver when someone hits the "root" aka "/" if it exists at the root

so, you can have your cake and eat it, if you take index.php out of the directoryindex list

RewriteCond %{REQUEST_URI} !index.php // RewriteCond %{REQUEST_URI} !^/+$ // RewriteRule . /index.php [NE,L,PT]

i think...

Why are you making this so overly complicated?

a redirect tells the bloody client to issue a new request. there's no magical internal redirect process. it's a new request from the user.

so, you can have your cake and eat it, if you take index.php out of the directoryindex list

^^
look for directoryindex and take out index.php

:

then you should be able to do your rewriterule...

he's not, you just were not considering all of the factors involved in accomplishing what you want

although if you have any links that just go to /, that'll mess you up too...

Taking .php out out the DirectoryIndex would be madness.

RewriteCond %{REQUEST_URI} !index.php // RewriteCond %{REQUEST_URI} !^/+ // RewriteRule \.php$ /index.php [NE,L,PT]

has anyone suggested negotiation as a way to hide php yet?

he wants a flaming redirect
it has to be a flaming redirect

...

why don't use call it index.html and force the type to php script

but only from USERS

and he doesn't want to take index.php out of directoryindex

actually now that i think about it

so *shrugs*

i want it to go to a 404 page
when .myext is access
ed
any file with .myext that is accessed :o
on the end, as an extention
o_o

I know exactly what would happen if I removed index.php from DirectoryIndex...
My server would start serving source code...

please get in line.. there's a shouting match in progress with very little, uh, progress. normal service will resume when i get bored enough to kick towerniece_, or you, or megaspaz, or myself.

wow

troubleshooting a howto that says I need to load mod_env for my app to work.

wow

ehm.. how can i make a link that when clicked does nothing ?

ah ok, i thought all that jumble was towards me

please at least try my recent suggested rewrite
take 42, or 17, that's undecided so far

actually, i think noodl hit it
although you don't need the escape on the .

Now I have tried it, and it did absolutely nothing. Both /index.php and /foobar.php are intact.

|| Redirect 404 || /FilesMatch

How hard can it be? This should be a simple one-line 5-second fix. :|

rici is that the actual code that goes into the .htaccess file

yes

apparently your expectations are too high

I think you think that I am trying to do something else.


Related Topic:

Any ideas on this guys ive setup apache2conf to rotatelog my logs file ive restarted apache but the accesslog
Is there a way to force a specific connection on your computer to close the connection Like say I use netstat