| Summary: | www-apache/anyterm needs a check by a webapp expert | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Tom Payne (RETIRED) <twp> |
| Component: | New packages | Assignee: | Gentoo Web Application Packages Maintainers <web-apps> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://anyterm.org/ | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Tom Payne (RETIRED)
2006-01-23 16:20:56 UTC
will take a look tomorrow I keep getting a 404 pop-up saying /anyterm/anyterm-module does not exist. What am I doing wrong? anyterm-module is a "virtual" file created in
/var/www/localhost/htdocs/anyterm/.htaccess
with these lines:
<Files anyterm-module>
SetHandler anyterm
# ...
</Files>
There are a number of possible problems:
Maybe this .htaccess file is not being read. Check /etc/apache2/conf/modules.d/50_anyterm.conf. Is the Directory directive correct for the location of the anyterm webapp? (This might well be wrong if you're using vhosts).
Maybe the .htaccess file disables itself: it only activates if both mod_ssl and mod_auth_pam are loaded. Do you have both of the following?
- net-www/apache built with USE=ssl
- net-www/mod_auth_pam
- -D ANYTERM -D SSL -D AUTH_PAM in your /etc/conf.d/apache2 APACHE2_OPTS
Hope it's one of these. If it's not could you send me the relevant lines from your apache logs?
Cheers,
Tom
ah, i never upgraded my mod_auth_pam for the new layout. works now. 1. You most likely want to set WEBAPP_MANUAL_SLOT="yes" and SLOT="0" 2. Instructions in pkg_postinst, .htaccess, and Apache2 config file assume USE="-vhosts" and will break if w-c is called into another vhost or destination directory. - You can use webapp_postinst_txt to display customized instructions for the right vhost/directory - the .htaccess file can be automatically adjusted using webapp_hook_script. - hook scripts are sandboxed and cannot modify files in /etc. You'll need to warn the user to set the correct directory in the Apache config file http://www.gentoo.org/proj/en/webapps/webapp-eclass.xml may be helpful Also, please use epause instead of sleep. Hope this helps, let me know if you have any other questions. Feel free to ping me in #gentoo-web Hi Renat, Thanks very much for all this, I'll make the changes. Cheers, Tom Your recommendations have now all been implemented. anyterm-1.1.8-r2 is now in the tree. |