Web Services
From SEDSWiki
Editing Web pages on SEDS:
Someone can fill this out with details... PHP, PERL, WEBDAV, file locations, access, etc.
Contents |
Access to files
(Put simple instructions here)
Detailed instructions (with pictures) available at Login to SEDS server.
Group web pages (/web)
Personal web pages (/Users/username/public_html/)
HTTP
SEDS is running Apache 2.2. Although Apache 2 is delivered with Mac OS X Server, it's not well integrated into the maintenance utilities nor updated frequently. So we use the MacPorts system which provides something like a Linux package system in that it automates installs, updates and other software changes including cross-dependencies.
Apache, including PHP and Mysql support were installed with port install php5 +apache2 +macosx +mysql5 +pear +pspell +t1lib +tidy
Following this, care must be taken to use /opt/local/apache2/bin/apachectl instead of /usr/bin/apachectl, so that the correct Apache installation will be controlled.
We've installed it with a few special options, most notably built-in support for the GD Graphics Library and Freetype 2.
PHP Upgrade
Some things to note about the PHP upgrade:
- By default we won't be allowing short tags anymore:
http://us2.php.net/manual/en/ini.core.php#ini.short-open-tag
Statistics
SEDS uses AWStats to process the web logs (installed via MacPorts). Logs for the following servers are available as follows:
- seds.org
- http://seds.org/awstats/awstats.pl
- yurisnight.net
- http://seds.org/awstats/awstats.pl?config=yurisnight.net
A script (/private/var/root/bin/process-weblog.sh) runs nightly to process the statistics and archive the web server logs.

