Hi,
I managed to have a local install of Gitorious in my Slackware 13.37.
Now I need to finalize the apache integration using a virtual server
but nothing seems to work. When I go with Firefox to darkstar.ilri.org
it shows the default Apache screen: "It works!". but when I go to
git.darkstar.ilri.org it waits for few seconds then falls to
darkstar.ilri.org and the default apache page. No error is reported.
Please help me!!!!!
LogFile:
[Wed Jun 29 14:21:52 2011] [notice] Digest: generating secret for
digest authentication ...
[Wed Jun 29 14:21:52 2011] [notice] Digest: done
[Wed Jun 29 14:21:53 2011] [notice] Apache/2.2.19 (Unix) DAV/2
Phusion_Passenger/3.0.7 configured -- resuming normal operations
/etc/hosts file:
127.0.0.1 localhost
172.26.17.70 darkstar.ilri.org darkstar
172.26.17.70 git.darkstar.ilri.org
vhosts.conf
#
# Use name-based virtual hosting.
#
NameVirtualHost *:80
<VirtualHost *:80>
<Directory /srv/httpd/htdocs>
Options Indexes FollowSymLinks ExecCGI
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ServerName darkstar.ilri.org
DocumentRoot /srv/httpd/htdocs
ErrorLog /var/log/httpd/error_log
AddHandler cgi-script .cgi
</VirtualHost>
<VirtualHost *:80>
<Directory /srv/httpd/git.darkstar.ilri.org/gitorious/public>
Options FollowSymLinks ExecCGI
AllowOverride None
Order allow,deny
Allow from All
</Directory>
AddHandler cgi-script .cgi
DocumentRoot /srv/httpd/git.darkstar.ilri.org/gitorious/public
ServerName git.darkstar.ilri.org
ErrorLog /var/www/git.darkstar.ilri.org/log/error.log
CustomLog /var/www/git.darkstar.ilri.org/log/access.log combined
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/
javascript text/css application/x-javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
ExpiresActive On
ExpiresDefault "access plus 1 year"
</FilesMatch>
FileETag None
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f
RewriteCond %{SCRIPT_FILENAME} !maintenance.html
RewriteRule ^.*$ /system/maintenance.html [L]
</VirtualHost>
Output of httpd -S:
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:80 is a NameVirtualHost
default server darkstar.ilri.org (/etc/httpd/extra/httpd-
vhosts.conf:21)
port 80 namevhost darkstar.ilri.org (/etc/httpd/extra/httpd-
vhosts.conf:21)
port 80 namevhost git.darkstar.ilri.org (/etc/httpd/extra/
httpd-vhosts.conf:37)
Syntax OK
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]