circle.ch weblog by Urs Gehrig

 Search
A weblog about libre software, law, technology, politics and the like.
Academic, Android, Apache, Apple, Art, Best Of, Biotech, Civil Society, Content Management, Cooking, Copyright, Creative Commons, Crosspost, Culture, Database, Deutsch, DRM, Economy, Education, Event, Gadget, General, Geodata, Government, Health, Howto, Humor, Innovation, Intellectual Property, Java, Language, LaTeX, Law, Linux, Media, Moblog, Mozilla, Music, Office, Open Content, Open Source, P2P, PHP, Podcast, Politics, Privacy, Projects, Random Thought, Rant, Science, Search, Social Network, Software, Sport, Talks, Technology, Technology Transfer, Travelling, Weblog, Wiki, Wireless and Mobile, XML

24. November 2004

University of Bern with Apache Lenya
@ 09:57:38

To motivate all faculties of a University to change their websites [e.g. 1] to a corporate style is quite a bit of work. The University of Bern has chosen a two-step program towards a CMS handled solution. Firstly, all the pages have been redesigned to the new style; most of that part is already realized. Secondly, they intend to move those pages to the CMS, which is said to be Apache Lenya [2]. My first idea was, that this is some kind of Sysiphus-work but while redesigning the wiso page, I recognized that I rather like the two-step concept ;)

[1] http://www.wiso.unibe.ch
[2] http://cmsub3.unibe.ch/lenya/administration/live/index_en.html

Comments (2) Permalink del.icio.us

11. June 2004

ApacheTop - a realtime overview for Apache
@ 07:16:13

ApacheTop is a realtime tool to display in a concise helpful way what your Apache server is doing [1].

[1] http://clueful.shagged.org/apachetop/

Comments (0) Permalink del.icio.us

24. March 2004

Apache2 with PHP5 CGI and PHP4 module on OS X
@ 15:15:30

Looking at the configuration now looks like it was a job at ease; but it took me some hours to work properly. PHP is now working in two versions in parallel on Apache2 on OS X 10.3.3. I will show you the configurations for the compilation first. Firstly, there is the configuration for PHP 4.3.4:
#:~/src/php-4.3.4 urs$ ./configure \
--disable-cgi \
--disable-pdo \
--enable-force-cgi-redirect \
--prefix=/usr/local/php \
--with-zlib \
--with-iconv=/sw/ \
--without-bundle-libxml \
--with-dom=/sw/ \
--with-libxml-dir=/sw/ \
--with-xsl=/sw/ \
--disable-pear \
--with-gd \
--with-freetype-dir=/sw/lib/freetype2/ \
--with-jpeg-dir=/sw/ \
--with-png-dir=/sw/ \
--enable-sockets \
--enable-pcntl \
--enable-shmop \
--enable-sysvshm \
--enable-sysvsem \
--with-mysql=/usr/local/mysql/ \
--enable-debug \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-config-file-path=/usr/local/php \
--with-config-file=/usr/local/php/php.ini
As below, this is what you can type to get PHP 5.0.0 RC1:
#:~/src/php-5.0.0RC1 urs$ ./configure \
--enable-force-cgi-redirect \
--prefix=/usr/local/php5-cgi \
--with-zlib \
--with-iconv=/sw/ \
--without-bundle-libxml \
--with-dom=/sw/ \
--with-libxml-dir=/sw/ \
--with-xsl=/sw/ \
--disable-pear \
--with-gd \
--with-freetype-dir=/sw/lib/freetype2/ \
--with-jpeg-dir=/sw/ \
--with-png-dir=/sw/ \
--with-mysql=/usr/local/mysql/ \
--enable-debug \
--with-config-file-path=/usr/local/php5-cgi \
--with-config-file=/usr/local/php5-cgi/php.ini
I have chose specific configuration paths for each version. As far as I can see, you need to give the path and the filename as well. Especially for the CGI version, you should specify the option --enable-force-cgi-redirect.

Now the tricky part was to get a working configuration for the virtual hosts. The idea behind is to have a PHP 4 module installed as default and a per-virtual-host-configuration for other versions of PHP; that might be PHP 5 or 3. So on port 86 php scripts will be processed by PHP 5.0.0 RC1.

Listen 86
<VirtualHost _default_:86>
ServerName localhost

ScriptAlias /php5 /usr/local/php5-cgi/bin/
<Directory /usr/local/php5-cgi/bin/>
Options +ExecCGI +FollowSymLinks
AllowOverride None
</Directory>

DocumentRoot /Library/Webserver/Documents/project-a
<Directory /Library/Webserver/Documents/project-a>
DirectoryIndex index.php
Options Includes Indexes FollowSymLinks MultiViews
AllowOverride None Options FileInfo
Action php5-cgi /php5/php
AddHandler php5-cgi .php .php5
</Directory>

ErrorLog logs/default_86-error_log
CustomLog logs/default_86-access_log combined
</VirtualHost>

<VirtualHost *>
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
DocumentRoot /Library/Webserver/
<Directory /Library/Webserver/>
DirectoryIndex index.php
Options Includes Indexes FollowSymLinks MultiViews
AllowOverride None Options FileInfo
</Directory>
</VirtualHost>
I collected various links and jotted down some eventually interesting information in the (Wiki/PHP5).

Comments (2) Permalink del.icio.us

18. February 2004

Michi Wechner about ASF
@ 10:44:45

Michi is just talking about the Apache Software Foundation. His speech is based on Stefano Mazzocchi of the ASF. Michi just mentioned mericrotacy.
Meritocracy is one of the principles underlying the ASF and its philosophy. As it has been put, 'the more you do the more you are allowed to do.' As a person acquires merit, his or her stature in the community grows, and (to a certain extent) the weight given to his or her opinions.
The ones that decide what happens are not necessarily the ones that code.

[1] http://www.google.com/search?q=define:meritocracy

Comments (0) Permalink del.icio.us

12. February 2004

Supersonic tour of Apache Cocoon
@ 11:21:44

Bertrand Delacrétaz is holding a workshop about Apache Cocoon at LOTS next Wednesday [1]. There are still some seats free; so please feel free to join in ;-)

[1] http://www.lots.ch/Supersonic_Tour_of_Apache_Cocoon.html

Comments (0) Permalink del.icio.us

17. September 2003

Disable functions per directory in PHP 4.3.3
@ 11:54:58

Tvrtko A. Uršulin [1] provided an interesting patch for PHP that only touches two files (main/main.c and sapi/apache/mod_php4.c ), which will allow to disable PHP functions per virtual directory. Interesting feature for service providers and Universities.

[1] http://www.zend.com/lists/php-dev/200309/msg00120.html

Comments (0) Permalink del.icio.us

08. September 2003

.NET on Apache 2
@ 18:05:28

According to an article on CNET [1] in July this year, Covalent [2] has brought up mod_asp.net for the Apache 2 webserver.

[1] http://news.com.com/2100-1001-946004.html?tag=fd_top
[2] http://www.covalent.com/about/press_releases.html?press_id=47

Comments (0) Permalink del.icio.us

22. May 2003

mod_auth_sqlite released
@ 09:50:25

Andrei Zmievski [1] pointed me to the mod_auth_sqlite [2] by Ikebe Tomohiro [3], an Apache 1.3.x module that allows authentication from the information stored in an SQLite database. You might also like to have a look at mod_auth_mysql for either Apache2 [4].

[1] http://www.gravitonic.com
[2] http://freshmeat.net/projects/mod_auth_sqlite/
[3] http://shebang.jp/mt/
[4] http://sourceforge.net/projects/modauthmysql/

Comments (2) Permalink del.icio.us

05. May 2003

.htaccess problem on drives other than C
@ 18:27:17

I tried to point to a directory on a drive different from C via a VirtualHost on Apache2. The behaviour changed while moving the directory to drive C. It might be a possible Apache bug [1].

[1] http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19676

Comments (0) Permalink del.icio.us

22. April 2003

Setting Filters for PHP in Apache2
@ 20:49:30

In a post on the PHP bug forum I came across that litte howto about using the correct filter syntax for PHP in Apache2 [1].
# bad example (a)
AddInputFilter PHP php
AddOutputFilter PHP php

...

AddType x-httpd-php .php

# bad example (b)
SetInputFilter PHP
SetOutputFilter PHP

...

AddType x-httpd-php .php

# not bad (c)
AddInputFilter PHP php
AddOutputFilter PHP php

# good (d)
AddType x-httpd-php .php

[1] http://bugs.php.net/bug.php?id=18648

Comments (0) Permalink del.icio.us

21. January 2003

websh 3.5.0 available
@ 10:42:41

Websh is a rapid development environment for building powerful, fast, and reliable web applications, as reported earlier [1]. Get the tarball from the download area [2]. Websh was originally developed by Netcetera AG [3].

[1] http://circle.ch/blog/p268.html
[2] http://tcl.apache.org/websh/download.ws3
[3] http://www.netcetera.ch

Comments (0) Permalink del.icio.us

25. October 2002

Apache compile HOWTOs in English and German
@ 12:00:00

I have been looking for some Apache compile howtos and found two, which I would like to mention [1][2].

[1] http://www.delouw.ch/linux/apache.phtml
[2] http://www.baach.de/lamp-tutorial.html
[3] http://www.blazonry.com/scripting/install_apache.php

(Update: One more [3], that shows how to compile Apache/PHP without SSL)

Comments (0) Permalink del.icio.us


Werbung:

Beiträge von Dritten:

Nachfolgende Titel verweisen auf von mir gelesene Weblogs.

Feeds:

Blog Content
Blog Comments

WikiAgenda:

Comments:

Good question, but...
Hi, thank you very...
Unter http://www.s...
Ich weiss mir nich...
ThanQ matthias. Th...
in case you just w...
ich liebe dir, urs...
hi there, sorry i...
Hoi Leo. I haven'...
Do you know the si...

Archives:

Blog stack:

Bill Humphries
monorom
Wendy M. Seltzer
Christian Stocker
Roger Fischer
Sandro Zic
Wez Furlong
Ben Hammersley
George Schlossnagle
Joichi Ito
Lawrence Lessig
Derek Slater
Karl-Friedrich Lenz
John Palfrey
Bernhard A.M. Seefeld
Gregor J. Rothfuss
Rainer Langenhan
Elke Engel
Sebastian Bergmann
Simon Willison
Jeremy Zwaodny
Udo Vetter
Axel A. Horns
Miguel de Icaza
Andreas Halter
Silvan Zurbrügg
Hannes Gassert
Markus Koller


$Date: 2005/11/05 11:14:30 $