Did you set FREESIDE_DOCUMENT_ROOT to /var/www/html/freeside in Makefile before you make install-docs?<br><br>I've run into this error before, but I don't exactly remember what was the culprit. Also, make sure selinux is not getting in your way... It has a bad habit of restricting apache from accessing certain parts of the filesystem.<br>
<br><br>Vlad<br><br><div class="gmail_quote">On Sat, Aug 25, 2012 at 12:05 PM, Mike Cavanagh <span dir="ltr"><<a href="mailto:mcavanagh@xillient.com" target="_blank">mcavanagh@xillient.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Installing Freeside with RT integration on CentOS 6.3 I have all the perl<br>
modules and dependencies loaded. I am now trying to use the application.<br>
<br>
Starting httpd goes well. I get the OK message.<br>
<br>
When I try to login, I get the following:<br>
Webpage:<br>
Not Found.<br>
The requested URL /index.html was not found on this server.<br>
<br>
/etc/httpd/logs/error_log file<br>
[Mason] Cannot resolve file to component:<br>
/var/www/html/freeside/index.html (is file outside component root?) at<br>
/usr/local/share/perl5/HTML/Mason/ApacheHandler.pm line 855.<br>
<br>
<br>
A little debugging in ApacheHandler.pm shows:<br>
pathname == /var/www/html/freeside/index.html<br>
component path == ""<br>
document_root == /var/www/html/freeside<br>
<br>
Not sure why the file is not found. The file does exist:<br>
ls -ls /var/www/html/freeside/index.html<br>
4 -rw-r--r--. 1 freeside freeside 1483 Aug 6 23:44<br>
/var/www/html/freeside/index.html<br>
<br>
Anyone have any thoughts?<br>
Let me know if more excerpts from config files, etc. are needed/desired.<br>
Thanks,<br>
Mike<br>
<br>
<br>
Non comment/blanks lines from httpd.conf file:<br>
==============================================<br>
ServerTokens OS<br>
ServerRoot "/etc/httpd"<br>
PidFile run/httpd.pid<br>
Timeout 60<br>
KeepAlive Off<br>
MaxKeepAliveRequests 100<br>
KeepAliveTimeout 15<br>
<br>
<IfModule prefork.c><br>
StartServers 8<br>
MinSpareServers 5<br>
MaxSpareServers 20<br>
ServerLimit 256<br>
MaxClients 256<br>
MaxRequestsPerChild 4000<br>
</IfModule><br>
<br>
<IfModule worker.c><br>
StartServers 4<br>
MaxClients 300<br>
MinSpareThreads 25<br>
MaxSpareThreads 75<br>
ThreadsPerChild 25<br>
MaxRequestsPerChild 0<br>
</IfModule><br>
<br>
Listen 80<br>
<br>
LoadModule auth_basic_module modules/mod_auth_basic.so<br>
LoadModule auth_digest_module modules/mod_auth_digest.so<br>
LoadModule authn_file_module modules/mod_authn_file.so<br>
LoadModule authn_alias_module modules/mod_authn_alias.so<br>
LoadModule authn_anon_module modules/mod_authn_anon.so<br>
LoadModule authn_dbm_module modules/mod_authn_dbm.so<br>
LoadModule authn_default_module modules/mod_authn_default.so<br>
LoadModule authz_host_module modules/mod_authz_host.so<br>
LoadModule authz_user_module modules/mod_authz_user.so<br>
LoadModule authz_owner_module modules/mod_authz_owner.so<br>
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so<br>
LoadModule authz_dbm_module modules/mod_authz_dbm.so<br>
LoadModule authz_default_module modules/mod_authz_default.so<br>
LoadModule ldap_module modules/mod_ldap.so<br>
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so<br>
LoadModule include_module modules/mod_include.so<br>
LoadModule log_config_module modules/mod_log_config.so<br>
LoadModule logio_module modules/mod_logio.so<br>
LoadModule env_module modules/mod_env.so<br>
LoadModule ext_filter_module modules/mod_ext_filter.so<br>
LoadModule mime_magic_module modules/mod_mime_magic.so<br>
LoadModule expires_module modules/mod_expires.so<br>
LoadModule deflate_module modules/mod_deflate.so<br>
LoadModule headers_module modules/mod_headers.so<br>
LoadModule usertrack_module modules/mod_usertrack.so<br>
LoadModule setenvif_module modules/mod_setenvif.so<br>
LoadModule mime_module modules/mod_mime.so<br>
LoadModule dav_module modules/mod_dav.so<br>
LoadModule status_module modules/mod_status.so<br>
LoadModule autoindex_module modules/mod_autoindex.so<br>
LoadModule info_module modules/mod_info.so<br>
LoadModule dav_fs_module modules/mod_dav_fs.so<br>
LoadModule vhost_alias_module modules/mod_vhost_alias.so<br>
LoadModule negotiation_module modules/mod_negotiation.so<br>
LoadModule dir_module modules/mod_dir.so<br>
LoadModule actions_module modules/mod_actions.so<br>
LoadModule speling_module modules/mod_speling.so<br>
LoadModule userdir_module modules/mod_userdir.so<br>
LoadModule alias_module modules/mod_alias.so<br>
LoadModule substitute_module modules/mod_substitute.so<br>
LoadModule rewrite_module modules/mod_rewrite.so<br>
LoadModule proxy_module modules/mod_proxy.so<br>
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so<br>
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so<br>
LoadModule proxy_http_module modules/mod_proxy_http.so<br>
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so<br>
LoadModule proxy_connect_module modules/mod_proxy_connect.so<br>
LoadModule cache_module modules/mod_cache.so<br>
LoadModule suexec_module modules/mod_suexec.so<br>
LoadModule disk_cache_module modules/mod_disk_cache.so<br>
LoadModule cgi_module modules/mod_cgi.so<br>
LoadModule version_module modules/mod_version.so<br>
LoadModule perl_module modules/mod_perl.so<br>
<br>
Include conf.d/*.conf<br>
Include freeside-conf.d/*.conf<br>
<br>
User freeside<br>
Group freeside<br>
ServerAdmin root@localhost<br>
ServerName <a href="http://freeside.fred.com:80" target="_blank">freeside.fred.com:80</a><br>
UseCanonicalName Off<br>
DocumentRoot "/var/www/html/freeside"<br>
<br>
<Directory /><br>
Options FollowSymLinks<br>
AllowOverride None<br>
</Directory><br>
<br>
<Directory "/var/www/html/freeside"><br>
Options Indexes FollowSymLinks<br>
<br>
AllowOverride None<br>
<br>
Order allow,deny<br>
Allow from all<br>
<br>
</Directory><br>
<br>
<IfModule mod_userdir.c><br>
#<br>
# UserDir is disabled by default since it can confirm the presence<br>
# of a username on the system (depending on home directory<br>
# permissions).<br>
#<br>
UserDir disabled<br>
#<br>
# To enable requests to /~user/ to serve the user's public_html<br>
# directory, remove the "UserDir disabled" line above, and uncomment<br>
# the following line instead:<br>
#<br>
#UserDir public_html<br>
</IfModule><br>
<br>
<Directory /var/www/html/freeside/rt/NoAuth><br>
<Limit GET POST><br>
allow from all<br>
Satisfy any<br>
SetHandler perl-script<br>
PerlHandler HTML::Mason<br>
</Limit><br>
</Directory><br>
<br>
<Directory /var/www/html/freeside/rt/REST/1.0/NoAuth><br>
<Limit GET POST><br>
allow from all<br>
Satisfy any<br>
SetHandler perl-script<br>
PerlHandler HTML::Mason<br>
</Limit><br>
</Directory><br>
<br>
<DirectoryMatch "^%/var/www/html/freeside/rt/.*NoAuth/images"><br>
SetHandler None<br>
</DirectoryMatch><br>
<br>
<Directory /var/www/html/freeside/rt/Ticket/Attachment><br>
SetHandler perl-script<br>
PerlHandler HTML::Mason<br>
</Directory><br>
<br>
<Directory /var/www/html/freeside/rt/Search><br>
SetHandler perl-script<br>
PerlHandler HTML::Mason<br>
</Directory><br>
<br>
DirectoryIndex index.html index.html.var<br>
AccessFileName .htaccess<br>
<br>
<Files ~ "^\.ht"><br>
Order allow,deny<br>
Deny from all<br>
Satisfy All<br>
</Files><br>
<br>
TypesConfig /etc/mime.types<br>
DefaultType text/plain<br>
<br>
<IfModule mod_mime_magic.c><br>
MIMEMagicFile conf/magic<br>
</IfModule><br>
<br>
HostnameLookups Off<br>
ErrorLog logs/error_log<br>
LogLevel warn<br>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""<br>
combined<br>
LogFormat "%h %l %u %t \"%r\" %>s %b" common<br>
LogFormat "%{Referer}i -> %U" referer<br>
LogFormat "%{User-agent}i" agent<br>
CustomLog logs/access_log combined<br>
ServerSignature On<br>
Alias /icons/ "/var/www/icons/"<br>
<br>
<Directory "/var/www/icons"><br>
Options Indexes MultiViews FollowSymLinks<br>
AllowOverride None<br>
Order allow,deny<br>
Allow from all<br>
</Directory><br>
<br>
<IfModule mod_dav_fs.c><br>
# Location of the WebDAV lock database.<br>
DAVLockDB /var/lib/dav/lockdb<br>
</IfModule><br>
<br>
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"<br>
<br>
<Directory "/var/www/cgi-bin"><br>
AllowOverride None<br>
Options None<br>
Order allow,deny<br>
Allow from all<br>
</Directory><br>
<br>
IndexOptions FancyIndexing VersionSort NameWidth=* HTMLTable Charset=UTF-8<br>
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip<br>
AddIconByType (TXT,/icons/text.gif) text/*<br>
AddIconByType (IMG,/icons/image2.gif) image/*<br>
AddIconByType (SND,/icons/sound2.gif) audio/*<br>
AddIconByType (VID,/icons/movie.gif) video/*<br>
AddIcon /icons/binary.gif .bin .exe<br>
AddIcon /icons/binhex.gif .hqx<br>
AddIcon /icons/tar.gif .tar<br>
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv<br>
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip<br>
AddIcon /icons/a.gif .ps .ai .eps<br>
AddIcon /icons/layout.gif .html .shtml .htm .pdf<br>
AddIcon /icons/text.gif .txt<br>
AddIcon /icons/c.gif .c<br>
AddIcon /icons/p.gif .pl .py<br>
AddIcon /icons/f.gif .for<br>
AddIcon /icons/dvi.gif .dvi<br>
AddIcon /icons/uuencoded.gif .uu<br>
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl<br>
AddIcon /icons/tex.gif .tex<br>
AddIcon /icons/bomb.gif core<br>
AddIcon /icons/back.gif ..<br>
AddIcon /icons/hand.right.gif README<br>
AddIcon /icons/folder.gif ^^DIRECTORY^^<br>
AddIcon /icons/blank.gif ^^BLANKICON^^<br>
DefaultIcon /icons/unknown.gif<br>
ReadmeName README.html<br>
HeaderName HEADER.html<br>
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t<br>
AddLanguage ca .ca<br>
AddLanguage cs .cz .cs<br>
AddLanguage da .dk<br>
AddLanguage de .de<br>
AddLanguage el .el<br>
AddLanguage en .en<br>
AddLanguage eo .eo<br>
AddLanguage es .es<br>
AddLanguage et .et<br>
AddLanguage fr .fr<br>
AddLanguage he .he<br>
AddLanguage hr .hr<br>
AddLanguage it .it<br>
AddLanguage ja .ja<br>
AddLanguage ko .ko<br>
AddLanguage ltz .ltz<br>
AddLanguage nl .nl<br>
AddLanguage nn .nn<br>
AddLanguage no .no<br>
AddLanguage pl .po<br>
AddLanguage pt .pt<br>
AddLanguage pt-BR .pt-br<br>
AddLanguage ru .ru<br>
AddLanguage sv .sv<br>
AddLanguage zh-CN .zh-cn<br>
AddLanguage zh-TW .zh-tw<br>
LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no<br>
pl pt pt-BR ru sv zh-CN zh-TW<br>
ForceLanguagePriority Prefer Fallback<br>
AddDefaultCharset UTF-8<br>
AddType application/x-compress .Z<br>
AddType application/x-gzip .gz .tgz<br>
AddType application/x-x509-ca-cert .crt<br>
AddType application/x-pkcs7-crl .crl<br>
AddHandler type-map var<br>
AddType text/html .shtml<br>
AddOutputFilter INCLUDES .shtml<br>
Alias /error/ "/var/www/error/"<br>
<br>
<IfModule mod_negotiation.c><br>
<IfModule mod_include.c><br>
<Directory "/var/www/error"><br>
AllowOverride None<br>
Options IncludesNoExec<br>
AddOutputFilter Includes html<br>
AddHandler type-map var<br>
Order allow,deny<br>
Allow from all<br>
LanguagePriority en es de fr<br>
ForceLanguagePriority Prefer Fallback<br>
</Directory><br>
</IfModule><br>
</IfModule><br>
<br>
BrowserMatch "Mozilla/2" nokeepalive<br>
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0<br>
BrowserMatch "RealPlayer 4\.0" force-response-1.0<br>
BrowserMatch "Java/1\.0" force-response-1.0<br>
BrowserMatch "JDK/1\.0" force-response-1.0<br>
BrowserMatch "Microsoft Data Access Internet Publishing Provider"<br>
redirect-carefully<br>
BrowserMatch "MS FrontPage" redirect-carefully<br>
BrowserMatch "^WebDrive" redirect-carefully<br>
BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully<br>
BrowserMatch "^gnome-vfs/1.0" redirect-carefully<br>
BrowserMatch "^XML Spy" redirect-carefully<br>
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully<br>
<br>
<br>
_______________________________________________<br>
freeside-users mailing list<br>
<a href="mailto:freeside-users@freeside.biz">freeside-users@freeside.biz</a><br>
<a href="http://freeside.biz/cgi-bin/mailman/listinfo/freeside-users" target="_blank">http://freeside.biz/cgi-bin/mailman/listinfo/freeside-users</a><br>
</blockquote></div><br>