|
-
What Flavor Should I Choose?
Date: 11/07/04
Keywords: web, linux
Of late I have been planning to setup a webserver1, running off of a box built from the old parts of my newly upgraded pc over my cable connection to the 'net. I don't like windows (3.1/95/98/ME/NT/2000/XP) as a OS for running a webserver2,or any other related activity, so I planned to go with linux. I had a hardcopy of good 'ol SuSE (6.1 kernel) but upon installing it, I found that what was good 4 years ago isn't quite up to what I enjoy today. So I installed a copy Redhat that I had from work. I had built a web server for the department on it, and after a bit of futzing around, enjoyed it very much. Looking around though, I found that there were a number of distros that I had only been vaguely familiar with before and each of them seemed to have some rather handy feature.
So the question in the end is, what do I want out of the OS for my server?
1: a stable webserver. This is covered by pretty much all distros, so no hard choices yet. 2: an awesome desktop and USB 2.0 support. This is the secondary consideration, but rather important at the moment.
I've looked around and talked to a few people on my friends list and a few more on IRC and have been left with more questions than answers. So far, the more I look at redhat, the more my opinion of it can be summed up by one word: 'meh.' A few friends (you know who you are :P ) have been raving to me about gentoo, but I haven't seen or heard enough about it to make an informed decision. There's always FreeBSD, but that's a bit hardcore and not so much on the 'overflowing with spiffy GUI options' side. Old SuSE doesn't seem to have anything really gigantic going for it either. I have no experience with slackware.
As desktops go, KDE looks rather cool, as does Athena. I'ved used Gnome and it is better than CDE, but then again, what isn't?
This is where you, my friends come in. Revel me with stories, personal experience and your wisdom.
(x-posted, appologies if you see this more than once)
1The webserver in question will be running primarily a website for students from my university, giving the low down on the professors so they know who to go for and who to avoid, and many other handy bits of school related information.
2The one and only time I ever used windows as webserver (W2K) was when a web developer at work wanted to show me something. So we installed it on my box. It was compromised in 30 seconds. That may be a bit on the generous side, believe it or not. That is why I have no love for windows as an OS in this respect.
Source: http://www.livejournal.com/community/apache/13645.html
-
mod_rewrite problem
Date: 11/07/04
Keywords: php
I've never used mod_rewrite before and I'm having the hardest time getting it to work. It is installed and running. Here is my .htaccess file
RewriteEngine On RewriteRule ^.*a.php$ /t.php [L]
I've tried every different variation on this that I can think of. Not matter what I get the following in the error log. script not found or unable to stat.
The url that I'm using to test this is http://localhost/~bloc/modr/a.php
Source: http://www.livejournal.com/community/apache/13468.html
-
"Missing" shared object file, but it's there
Date: 11/02/04
Keywords: apache
Hi experts. :)
What reason might there be for this error message: Syntax error on line 26 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/mod_rewrite.so into server: /usr/local/apache/libexec/mod_rewrite.so: cannot open shared object file: No such file or directory I can't really spot a syntax error — the line in question is:LoadModule rewrite_module libexec/mod_rewrite.so and the file /usr/local/apache/libexec/mod_rewrite.so actually does exist. Help? (All I'm trying to do is to enable mod_rewrite.)
Source: http://www.livejournal.com/community/apache/13305.html
-
logging of virtual hosts
Date: 10/13/04
Keywords: no keywords
[Error: Irreparable invalid markup ('') in entry. Owner must fix manually. Raw contents below.]
Can I have multiple vhosts using the same log files or will they get in each others way. Something like this.
ServerName bloc.com:80 ServerAlias www.bloc.com DocumentRoot /home/httpd/vhosts/bloc.com/httpdocs CustomLog /home/httpd/vhosts/bloc.com/statistics/logs/access_log combined ErrorLog /home/httpd/vhosts/bloc.com/statistics/logs/error_log
ServerName sub.bloc.com:80 ServerAlias www.sub.bloc.com DocumentRoot /home/httpd/vhosts/bloc.com/sub/httpdocs CustomLog /home/httpd/vhosts/bloc.com/statistics/logs/access_log combined ErrorLog /home/httpd/vhosts/bloc.com/statistics/logs/error_log
Source: http://www.livejournal.com/community/apache/12558.html
-
mod_rewrite?
Date: 09/21/04
Keywords: php, apache
Hi all, hope someone can give me insight here. I've got an install of phpbb on my site, and I want to use a custom, outside signup page for new users. By default phpbb directs users to /installdir/profile.php?mode=register&agreed=true when they click on the appropriate link. Would mod_rewrite be the answer to redirecting someone who hits that link? A traditional alias or redirect does not seem to work, as apache throws an error about the config, and it's not based on the page itself, but the url parameters being passed. I know I could just as easily hack up the php code for the forum, but I'd prefer this non-invasive method, plus it would catch anyone trying to circumvent a simple redirect within the code. Any hints?
Oh, here's my current rewrite ruleset: RewriteCond %{QUERY_STRING} ^(mode=register&agreed=true.*) [NC] RewriteRule ^/forum/profile\.php$1 /account.php [L]
Source: http://www.livejournal.com/community/apache/11984.html
-
Quick question...
Date: 07/31/04
Keywords: html, apache
Hiya everyone,
Ok, this is a quick, perhaps idiotic, question that I *think* has to do with Apache..
I'm running OS X.3 built in Apacher server to run my personal site www.jubei-ruri.com. When I go to www.jubei-ruri.com/galleries/ it directs perfect however if I go to www.jubei-ruri.com/galleries it borks out and attempts to load off of the localhost, mechaserver.local.
I'm 100% new to Apache and 90% new to HTML so I had some friends look over the HTML and they said everything looks kosher to them. The offered up that it might just be something with the way Apahce handles that type of thing and to ask a person versed in Apache. Thus I'm here. ^_^
Any suggestions or ideas?
Thank you very much!
Source: http://www.livejournal.com/community/apache/10723.html
|