bigs?
:P
s/megaspaz/annoying/
hee hee
noob question here....what causes this message:
Could not reliably determine the server's fully qualified domain
name, using 127.0.0.1 for ServerNam
fqdn
fqdn is fully qualified domain name or http://wiki.apache.org/httpd/Errors/CouldNotDetermineServerName
^^
apache couldnt resolve a host name into a ... yeah, reaad
that
thank ya
i have just installed apache2 on to a fresh install of Debian
Etch....I have two directories (A and B) I want this set up so that
if i type in blah.example.com it uses directory A as the webroot
and www.example.com (or anyother subdomain) would use directory
B
what would be the easiest way to set this up?
vhost tutoril
huh?
vhost tutorial
vhost tutorial is (http://httpd.apache.org/docs-2.0/vhosts/
read that
i've looked at it but it leaves me somewhat confused...i'll
take another look
specifically the named virtual hosts
also, I have inserted mod rewrite commands in my httpd.conf,
shoudl I remove that
why?
are they hurting something?
i read about the mod rewrite sequence that I have that it is
suggested for example.com and www.example.com pointing to the same
thing
I didn't know if it would cause problems with setting up the
subdomain as they rewrite anything before the .example.com as
www
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
lol, ok
block interact with the sites-enabled directory?
default layout
Pop along to http://wiki.apache.org/httpd/Info/DistrosDefaultLayout
for an idea on where the main distros place Apache files.
read that ^^
thank you
can u make suexec output the parameters it was compiled
with?
suexec -v or maybe -B
oops or maybe -V
ta
Hey all, http://pastie.caboo.se/74945
Anyone have any clue why apache isn't loading?
fqdn
fqdn is fully qualified domain name or http://wiki.apache.org/httpd/Errors/CouldNotDetermineServerName
that and theres another process already attached to port
80
Can you elaborate? I can't see any other processes.
you suggesting the netstat is finding it? if so, how do I
remove?
killall httpd ?
Thanks, that actually worked.
Problem is, everytime i reboot the server, its gonna start
again
?
how are you restarting the server?
Slicehost control panel does a CTRL-ALT-DEL
well, whatever the equiv is. Soft reboot
O.o
lol.
Did I just give off too much "I know nothing about *nix"
vibe?
yup
and ive never heard of Slicehost
www.slicehost.com Cheap VPS, Very good. Long waiting
line.
and weeeeee.
so you have apache running. why do you want to start it?
have you installed a new version or something?
or did you just want to change the config and restart it?
I THINK, I had previously installed it wrongly (i have
rebuilt my slice 5 times
dicing your slice, are you?
reformatted 5 times, then i installed apache and realised that I
wanted different dependencies and went about it in a different
manner.
which distro did you choose?
lol
Ubuntu, on reccomendation.
It's a matter of a drop down and choose "rebuild" on slice. and you
got a fresh snapshot.
it gives you a snapshot of a running system, does it?
you should probably apt-get remove whatever-ubuntu-calls-apache
before you install a new one
although it's a bit odd that the rebuild comes with a running
apache.
i suppose that makes it easier for people
no, it comes with a fresh format I mean. Obviously, they
don't go through the installation processes but have a version that
they just clone. Or that's what I'd think.
yeah, so you've got some packages at start up?
Fresh. Nothing installed.
Just the distro.
ok, so you should be able to install apache fine
but if you already did that, with apt-get install, you should
undo it with apt-get remove before you try again. i
guess.
I did multiple things, installed apache, then i think i
removed it, then installed it
although i'm technically an ubuntu user, i don't like the debian
layout so i didn't install it
in the official way. i'm probably not the best hosting person
to help.
although i would sort of think that debianxxxxxubuntu would stop
the apache service when you uninstall it,
it's possible that it might not.
if it doesn't stop it, it will keep going, thanks to the magic of
secure unix web
hosting filesystems.
deleting a file doesn't actually delete it if it's in use... so
you can delete the apache executable without hurting the running
process.
of course, it won't be able to start after that ...
anyhow.
anyhow. is Gwe out of apache questions for the first time in
what feels like a week
if you did uninstall it and reinstall it, you're probably
ok.
reboot your virtual machine and make sure it starts up ok
I learnt that via Mac OS X
... and good luck.
right, same principle
Thanks mate
hi all
All is not in today, x-demon_
how i can made cgi scripts
executable from any dir?
Options +ExecCGI
Options +ExecCGI allows a directory to execute CGI
scripts.
htaccess?
htaccess files apply to the directory in which they are placed,
and to all subdirectories thereof. or Only needed if you don't have
access to the main server config. or http://httpd.apache.org/docs/howto/htaccess.html
or http://httpd.apache.org/docs/configuring.html#htaccess
or http://httpd.apache.org/docs-2.0/howto/htaccess.html
or if it doesn't work, checkyour AllowOverride directives in http.
Ask me about AllowOv
nope
doesnt 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,)pastebin the config if that's the problem
options context
server config, virtual host, directory, .htaccess (.htaccess
requires AllowOverride Options in the httpd config)
oh its perl
script...
but with *cgi ext
oh
how i can put it into vhost?
http://apache.pastebin.ca/596831
here is vhost file
imMute
imMute is beyond me
help
x-demon_: Hi, what can we do for you today?
damn. imMute help!
x-demon_: solve my problems for me first
maybe
what problems&
?
http://www.facebook.com/jobs_puzzles/?puzzle_id=6
not opens for me
probably. facebook is having server host issues
hey guys... i have a question, ithink this is the right place,
places like geocities can include those ads on your pages, but they
don't modify your files whatsoever, how can I do that ?
dont they use frames?
hmmm
no
they use a script to load the page, and return their own HTML
before yours
yeah if you view source it shows a javascript.. but if you
check the actual files on the server, the javascript isn't
there
screipt or maybe some filter module?
-e
how do that add that javascript in ? like a global include or
something
i thought it was perhaps an apache config or so
but really, i have no clue!
user:user and apache is in group user. the files have chmod 640,
and directories have 750
works like this on other vhosts, dunno why it's not working here..
whta could i be missing
do you have Directory section allowing access for that
filesystem path?
or is there some directory in the path where apache does not have
access (x) privilege?
ah wait
cgi-bin needs special permissions, or?
i have a Directory /var/www/localhost/htdocs
but nothing special defined within that would prohibit
access
btw.
btw. is xscan or retina freeware?
step one?
whatever the problem, step one is to look in the error log (and
any other logs that may apply, such as suexec, mod_rewrite, or
mod_security).
6 2007] [error] [client x.x.x.x] (13)Permission denied: access
to /ip.php
chmod 777 index.html
and still 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
fajita i will burn you
sorry...
you could pastebin 'namei -m
/var/www/localhost/htdocs/ip.php' output and maybe the directory
section of yours
When I type my domain name into my browser window, it
resolves to .net.net. I assume this is because some conf file is
written wrong. Where do I change it?
only owner has access to localhost directory
try adding g+x there
or actually even owner does not have x but for owner that should
not matter
what permissions should .htaccess files have?
640 or 644 depending on the group
ah now it works
thanks
hi, how would I go about password protecting a directory only
for users that are not localhost?
satisfy
satisfy is http://httpd.apache.org/docs/2.2/mod/core.html#satisfy
or http://httpd.apache.org/docs/mod/core.html#satisfy
^
thanks a lot
Hello?
Hail, cad!
My browser changes my webpage from www.mypagename.net to
www.net.net
What is happenning? My apache2.conf file is still set to show
the apache2 default page, but it doesn't come up.
Hi... my website is running very slow.. its about 6-7 seconds
of loading everytime, and i dont understand, becouse its a
dedicated server with 22 gb ram and dual 1.8 ghz... ive moved it
yesterday, and on the old server it was fast.. so is there any
settings i should edit in apache??
hi
is there any chance I can use a %date var or so, in mod
rerewrite?
perhabs the bandwidth?
cusco hmm, i have unlimited bandwidth and it is on a 100 mbit
connection...
just so I can see.. what is the url?
ok found %{TIME_something}
what does "Premature end of script headers" mean?
Premature end of script headers
'Premature end of script headers' means that the script either
encountered an error, or is emitting a bogus HTTP header. Check out
http://httpd.apache.org/docs/misc/FAQ.html#premature-script-headers
or see suexec or see ScriptLog or see 500 or see cg-eye (diagnostic
tool)
'Premature end of script headers' means that the script either
encountered an error, or is emitting a bogus HTTP header. Check out
a href="http://httpd.apache.org/docs/misc/FAQ.html#premature-script-headers"http://httpd.apache.org/docs/misc/FAQ.html#premature-script-headers/a
or see suexec or see ScriptLog or see 500 or see cg-eye (diagnostic
tool)
Related Topic:
Roobarb It depends on what they need and what I need My email and since I get zero spam Im happy to blurt it out