[rt-users] index.html not found (CentOS-5.3 RT-3.8.2 FastCGI)
Ruslan Zakirov
ruslan.zakirov at gmail.com
Fri May 8 17:03:53 EDT 2009
use http://scmtest.tld.com/rt/
with trailing slash.
On Sat, May 9, 2009 at 12:47 AM, Phil Lawrence <phil at five-lawrences.com> wrote:
> I have a fresh test install, but my old recipe no longer works :-).
> Can someone please help with the following:
>
> __PROBLEM__
> This URL displays the login page fine:
> http://scmtest.tld.com/rt
>
> However, clicking the Login button leads to a 404 page for:
> http://scmtest.tld.com/index.html
>
> Specifically, here is the error from /var/log/httpd/error_log:
> ... [error] [client 10.5.0.143] File does not exist:
> /var/www/html/index.html, referer: http://scmtest.tld.com/rt
>
> I've tried making an alias for /rt in the rt3.conf httpd conf file,
> but that only seems to make my images and css disappear from the login
> page (and doesn't change the problem I specified above). Any ideas?
>
> __CONFIG__
> basic setup: CentOS-5.3 RT-3.8.2 FastCGI
>
> I installed RT with default layout. (config.log appended below)
>
> /etc/httpd/conf/httpd.conf is untouched out of the box
>
> # cat /etc/httpd/conf.d/fastcgi.conf
> LoadModule fastcgi_module modules/mod_fastcgi.so
>
> # cat /etc/httpd/conf.d/rt3.conf
> NameVirtualHost *:80
> <VirtualHost *:80>
> ServerAdmin root
>
> DocumentRoot /var/www/html/
>
> # Adding the following for RT (the ticket tracker)
> AddHandler fastcgi-script fcgi
>
> Alias /rt/ /opt/rt3/share/html/
> <Directory "/opt/rt3/share/html/">
> Options FollowSymLinks ExecCGI
> AllowOverride None
> </Directory>
>
> # Pass through requests to display images
> Alias /NoAuth/images/ /opt/rt3/share/html/NoAuth/images/
>
> </VirtualHost>
> FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120
> ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi
>
> Here is my site config:
> # diff RT_Config.pm RT_SiteConfig.pm
> 37c37
> < Set($rtname , "example.com");
> ---
>> Set($rtname , "rt");
> 73c73
> < Set($Organization , "example.com");
> ---
>> Set($Organization , "scmtest.tld.com");
> 91c91
> < Set($Timezone , 'US/Eastern');
> ---
>> Set($Timezone , 'US/Central');
> 118,119c118,119
> < Set($DatabaseHost , 'localhost');
> < Set($DatabaseRTHost , 'localhost');
> ---
>> Set($DatabaseHost , '');
>> Set($DatabaseRTHost , '');
> 144c144
> < Set($DatabasePassword , 'rt_pass');
> ---
>> Set($DatabasePassword , 'password');
> 659c659
> < Set($LogToSyslog , 'info');
> ---
>> Set($LogToSyslog , 'debug');
> 761c761
> < Set($WebPath, "");
> ---
>> Set($WebPath, "/rt");
> 778c778
> < Set( $WebDomain, 'localhost' );
> ---
>> Set( $WebDomain, 'scmtest.tld.com' );
> 850c850
> < Set($MessageBoxWrap, "HARD");
> ---
>> Set($MessageBoxWrap, "SOFT");
>
> Here is ~/src/rt-3.8.2/config.log
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> It was created by RT configure 3.8.2, which was
> generated by GNU Autoconf 2.61. Invocation command line was
>
> $ ./configure --with-apachectl=/usr/sbin/apachectl
> --with-web-user=apache --with-web-group=apache --with-mysql
> --with-web-handler=fastcgi
>
> ## --------- ##
> ## Platform. ##
> ## --------- ##
>
> hostname = scmtest.tld.com
> uname -m = i686
> uname -r = 2.6.18-128.1.6.el5
> uname -s = Linux
> uname -v = #1 SMP Wed Apr 1 09:19:18 EDT 2009
>
> /usr/bin/uname -p = unknown
> /bin/uname -X = unknown
>
> /bin/arch = i686
> /usr/bin/arch -k = unknown
> /usr/convex/getsysinfo = unknown
> /usr/bin/hostinfo = unknown
> /bin/machine = unknown
> /usr/bin/oslevel = unknown
> /bin/universe = unknown
>
> PATH: /usr/kerberos/bin
> PATH: /usr/local/bin
> PATH: /bin
> PATH: /usr/bin
> PATH: /home/phil/bin
>
>
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
>
> configure:1846: checking for a BSD-compatible install
> configure:1902: result: /usr/bin/install -c
> configure:1917: checking for gawk
> configure:1933: found /bin/gawk
> configure:1944: result: gawk
> configure:1958: checking for perl
> configure:1976: found /usr/local/bin/perl
> configure:1989: result: /usr/local/bin/perl
> configure:2334: checking for chosen layout
> configure:2349: result: relative
> configure:2558: checking if group rt3 exists
> configure:2564: result: not found
> configure:2558: checking if group rt exists
> configure:2561: result: found
> configure:2592: checking if database name is valid
> configure:2595: result: yes
> configure:2690: checking for gcc
> configure:2706: found /usr/bin/gcc
> configure:2717: result: gcc
> configure:2955: checking for C compiler version
> configure:2962: gcc --version >&5
> gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)
> Copyright (C) 2006 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> configure:2965: $? = 0
> configure:2972: gcc -v >&5
> Using built-in specs.
> Target: i386-redhat-linux
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --enable-shared --enable-threads=posix
> --enable-checking=release --with-system-zlib --enable-__cxa_atexit
> --disable-libunwind-exceptions --enable-libgcj-multifile
> --enable-languages=c,c++,objc,obj-c++,java,fortran,ada
> --enable-java-awt=gtk --disable-dssi --enable-plugin
> --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
> --with-cpu=generic --host=i386-redhat-linux
> Thread model: posix
> gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)
> configure:2975: $? = 0
> configure:2982: gcc -V >&5
> gcc: '-V' option must have argument
> configure:2985: $? = 1
> configure:3008: checking for C compiler default output file name
> configure:3035: gcc conftest.c >&5
> configure:3038: $? = 0
> configure:3076: result: a.out
> configure:3093: checking whether the C compiler works
> configure:3103: ./a.out
> configure:3106: $? = 0
> configure:3123: result: yes
> configure:3130: checking whether we are cross compiling
> configure:3132: result: no
> configure:3135: checking for suffix of executables
> configure:3142: gcc -o conftest conftest.c >&5
> configure:3145: $? = 0
> configure:3169: result:
> configure:3175: checking for suffix of object files
> configure:3201: gcc -c conftest.c >&5
> configure:3204: $? = 0
> configure:3227: result: o
> configure:3231: checking whether we are using the GNU C compiler
> configure:3260: gcc -c conftest.c >&5
> configure:3266: $? = 0
> configure:3283: result: yes
> configure:3288: checking whether gcc accepts -g
> configure:3318: gcc -c -g conftest.c >&5
> configure:3324: $? = 0
> configure:3423: result: yes
> configure:3440: checking for gcc option to accept ISO C89
> configure:3514: gcc -c -g -O2 conftest.c >&5
> configure:3520: $? = 0
> configure:3543: result: none needed
> configure:3562: checking for aginitlib in -lgraph
> configure:3597: gcc -o conftest -g -O2 conftest.c -lgraph >&5
> /usr/bin/ld: cannot find -lgraph
> collect2: ld returned 1 exit status
> configure:3603: $? = 1
> configure: failed program was:
> | /* confdefs.h. */
> | #define PACKAGE_NAME "RT"
> | #define PACKAGE_TARNAME "rt"
> | #define PACKAGE_VERSION "3.8.2"
> | #define PACKAGE_STRING "RT 3.8.2"
> | #define PACKAGE_BUGREPORT "rt-bugs at bestpractical.com"
> | /* end confdefs.h. */
> |
> | /* Override any GCC internal prototype to avoid an error.
> | Use char because int might match the return type of a GCC
> | builtin and then its argument prototype would still apply. */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | char aginitlib ();
> | int
> | main ()
> | {
> | return aginitlib ();
> | ;
> | return 0;
> | }
> configure:3621: result: no
> configure:3647: checking for gdlib-config
> configure:3663: found /usr/local/bin/gdlib-config
> configure:3675: result: yes
> configure:3703: checking for gpg
> configure:3719: found /usr/bin/gpg
> configure:3731: result: yes
> configure:4010: creating ./config.status
>
> ## ---------------------- ##
> ## Running config.status. ##
> ## ---------------------- ##
>
> This file was extended by RT config.status 3.8.2, which was
> generated by GNU Autoconf 2.61. Invocation command line was
>
> CONFIG_FILES =
> CONFIG_HEADERS =
> CONFIG_LINKS =
> CONFIG_COMMANDS =
> $ ./config.status
>
> on scmtest.tld.com
>
> config.status:697: creating etc/upgrade/3.8-branded-queues-extension
> config.status:697: creating etc/upgrade/3.8-ical-extension
> config.status:697: creating sbin/rt-attributes-viewer
> config.status:697: creating sbin/rt-dump-database
> config.status:697: creating sbin/rt-setup-database
> config.status:697: creating sbin/rt-test-dependencies
> config.status:697: creating sbin/rt-email-digest
> config.status:697: creating sbin/rt-email-dashboards
> config.status:697: creating sbin/rt-clean-sessions
> config.status:697: creating sbin/rt-shredder
> config.status:697: creating sbin/rt-validator
> config.status:697: creating sbin/rt-email-group-admin
> config.status:697: creating sbin/rt-server
> config.status:697: creating bin/mason_handler.fcgi
> config.status:697: creating bin/mason_handler.scgi
> config.status:697: creating bin/standalone_httpd
> config.status:697: creating bin/rt-crontool
> config.status:697: creating bin/rt-mailgate
> config.status:697: creating bin/rt
> config.status:697: creating Makefile
> config.status:697: creating etc/RT_Config.pm
> config.status:697: creating lib/RT.pm
> config.status:697: creating bin/mason_handler.svc
> config.status:697: creating bin/webmux.pl
>
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
>
> ac_cv_c_compiler_gnu=yes
> ac_cv_env_CC_set=
> ac_cv_env_CC_value=
> ac_cv_env_CFLAGS_set=
> ac_cv_env_CFLAGS_value=
> ac_cv_env_CPPFLAGS_set=
> ac_cv_env_CPPFLAGS_value=
> ac_cv_env_LDFLAGS_set=
> ac_cv_env_LDFLAGS_value=
> ac_cv_env_LIBS_set=
> ac_cv_env_LIBS_value=
> ac_cv_env_PERL_set=
> ac_cv_env_PERL_value=
> ac_cv_env_build_alias_set=
> ac_cv_env_build_alias_value=
> ac_cv_env_host_alias_set=
> ac_cv_env_host_alias_value=
> ac_cv_env_target_alias_set=
> ac_cv_env_target_alias_value=
> ac_cv_lib_graph_aginitlib=no
> ac_cv_objext=o
> ac_cv_path_PERL=/usr/local/bin/perl
> ac_cv_path_install='/usr/bin/install -c'
> ac_cv_prog_AWK=gawk
> ac_cv_prog_RT_GD=yes
> ac_cv_prog_RT_GPG=yes
> ac_cv_prog_ac_ct_CC=gcc
> ac_cv_prog_cc_c89=
> ac_cv_prog_cc_g=yes
>
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
>
> APACHECTL='/usr/sbin/apachectl'
> AWK='gawk'
> BIN_OWNER='root'
> CC='gcc'
> CFLAGS='-g -O2'
> COMMENT_INPLACE_LAYOUT=''
> CONFIG_FILE_PATH='etc'
> CONFIG_FILE_PATH_R='/opt/rt3/etc'
> CPPFLAGS=''
> DATABASE_ENV_PREF=''
> DB_DATABASE='rt3'
> DB_DBA='root'
> DB_HOST='localhost'
> DB_PORT=''
> DB_RT_HOST='localhost'
> DB_RT_PASS='rt_pass'
> DB_RT_USER='rt_user'
> DB_TYPE='mysql'
> DEFS='-DPACKAGE_NAME=\"RT\" -DPACKAGE_TARNAME=\"rt\"
> -DPACKAGE_VERSION=\"3.8.2\" -DPACKAGE_STRING=\"RT\ 3.8.2\"
> -DPACKAGE_BUGREPORT=\"rt-bugs at bestpractical.com\"'
> ECHO_C=''
> ECHO_N='-n'
> ECHO_T=''
> EXEEXT=''
> INSTALL_DATA='${INSTALL} -m 644'
> INSTALL_PROGRAM='${INSTALL}'
> INSTALL_SCRIPT='${INSTALL}'
> LDFLAGS=''
> LIBOBJS=''
> LIBS=''
> LIBS_GROUP='bin'
> LIBS_OWNER='root'
> LOCAL_ETC_PATH='local/etc'
> LOCAL_ETC_PATH_R='/opt/rt3/local/etc'
> LOCAL_LEXICON_PATH='local/po'
> LOCAL_LEXICON_PATH_R='/opt/rt3/local/po'
> LOCAL_LIB_PATH='local/lib'
> LOCAL_LIB_PATH_R='/opt/rt3/local/lib'
> LTLIBOBJS=''
> MASON_DATA_PATH='var/mason_data'
> MASON_DATA_PATH_R='/opt/rt3/var/mason_data'
> MASON_HTML_PATH='share/html'
> MASON_HTML_PATH_R='/opt/rt3/share/html'
> MASON_LOCAL_HTML_PATH='local/html'
> MASON_LOCAL_HTML_PATH_R='/opt/rt3/local/html'
> MASON_SESSION_PATH='var/session_data'
> MASON_SESSION_PATH_R='/opt/rt3/var/session_data'
> OBJEXT='o'
> PACKAGE_BUGREPORT='rt-bugs at bestpractical.com'
> PACKAGE_NAME='RT'
> PACKAGE_STRING='RT 3.8.2'
> PACKAGE_TARNAME='rt'
> PACKAGE_VERSION='3.8.2'
> PATH_SEPARATOR=':'
> PERL='/usr/local/bin/perl'
> RTGROUP='rt'
> RT_BIN_PATH='bin'
> RT_BIN_PATH_R='/opt/rt3/bin'
> RT_DEVEL_MODE='0'
> RT_DOC_PATH='share/doc'
> RT_DOC_PATH_R='/opt/rt3/share/doc'
> RT_ETC_PATH='etc'
> RT_ETC_PATH_R='/opt/rt3/etc'
> RT_GD='1'
> RT_GPG='1'
> RT_GRAPHVIZ='0'
> RT_LIB_PATH='lib'
> RT_LIB_PATH_R='/opt/rt3/lib'
> RT_LOCAL_PATH='local'
> RT_LOCAL_PATH_R='/opt/rt3/local'
> RT_LOG_PATH='var/log'
> RT_LOG_PATH_R='/opt/rt3/var/log'
> RT_MAN_PATH='man'
> RT_MAN_PATH_R='/opt/rt3/man'
> RT_PATH='/opt/rt3'
> RT_PATH_R='/opt/rt3'
> RT_SBIN_PATH='sbin'
> RT_SBIN_PATH_R='/opt/rt3/sbin'
> RT_VAR_PATH='var'
> RT_VAR_PATH_R='/opt/rt3/var'
> RT_VERSION_MAJOR='3'
> RT_VERSION_MINOR='8'
> RT_VERSION_PATCH='2'
> SHELL='/bin/sh'
> SPEEDY_BIN='/usr/local/bin/speedy'
> WEB_GROUP='apache'
> WEB_HANDLER='fastcgi'
> WEB_USER='apache'
> ac_ct_CC='gcc'
> bindir='bin'
> build_alias=''
> customdir='local'
> custometcdir='local/etc'
> customhtmldir='local/html'
> customlexdir='local/po'
> customlibdir='local/lib'
> datadir='share'
> datarootdir='${prefix}/share'
> docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
> dvidir='${docdir}'
> exec_prefix='/opt/rt3'
> exp_bindir='bin'
> exp_customdir='local'
> exp_custometcdir='local/etc'
> exp_customhtmldir='local/html'
> exp_customlexdir='local/po'
> exp_customlibdir='local/lib'
> exp_datadir='share'
> exp_exec_prefix='/opt/rt3'
> exp_htmldir='share/html'
> exp_libdir='lib'
> exp_localstatedir='var'
> exp_logfiledir='var/log'
> exp_mandir='man'
> exp_manualdir='share/doc'
> exp_masonstatedir='var/mason_data'
> exp_prefix='/opt/rt3'
> exp_sbindir='sbin'
> exp_sessionstatedir='var/session_data'
> exp_sysconfdir='etc'
> host_alias=''
> htmldir='share/html'
> includedir='${prefix}/include'
> infodir='${datarootdir}/info'
> libdir='lib'
> libexecdir='${exec_prefix}/libexec'
> localedir='${datarootdir}/locale'
> localstatedir='var'
> logfiledir='var/log'
> mandir='man'
> manualdir='share/doc'
> masonstatedir='var/mason_data'
> oldincludedir='/usr/include'
> pdfdir='${docdir}'
> prefix='/opt/rt3'
> program_transform_name='s,x,x,'
> psdir='${docdir}'
> rt_layout_name='relative'
> rt_version_major='3'
> rt_version_minor='8'
> rt_version_patch='2'
> sbindir='sbin'
> sessionstatedir='var/session_data'
> sharedstatedir='${prefix}/com'
> sysconfdir='etc'
> target_alias=''
>
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
>
> #define PACKAGE_NAME "RT"
> #define PACKAGE_TARNAME "rt"
> #define PACKAGE_VERSION "3.8.2"
> #define PACKAGE_STRING "RT 3.8.2"
> #define PACKAGE_BUGREPORT "rt-bugs at bestpractical.com"
>
> configure: exit 0
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
--
Best regards, Ruslan.
More information about the rt-users
mailing list