Apache doesn’t server .zip files

Edit Apache config file

cat /etc/httpd/conf/httpd.conf
<VirtualHost *:80>
 DocumentRoot /var/www/html/digmap

Give directory ownership to Apache

su -
chown -fR tomcat:apache /var/www/html/digmap
chmod -fR ug+rw /var/www/html/digmap

If you are running SELinux Apache can refuse to server .zip files as 403 Forbidden.  ls -Z shows the differences.  To fix it, use the following command:

su -
ls -Z /var/www/html/digmap
chcon -R -h -t httpd_sys_content_t   /var/www/html/digmap
ls -Z /var/www/html/digmap


Setting up a proxy  server settings

If you are using a proxy server it has to be enabled in Eclipse and additionally for Maven. Open Window>Preferences. Expand selection tree: General>Network connections. Either use system settings or setup manual proxy settings.  Additional expand selection Maven>User Settings. Enter user settings file name, eg.:  /home/DigMap/.m2/settings.xml User settings file content should look like:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s