After everything is completed, it's time to host it on a server. This section is about note taking while hosting with Apache.
For Apache, you need to output your directory to:
/var/www/repos/apt/debianOtherwise, it will be a lot of complications.
Ensure your Apache configurations has the following settings:
# /etc/apache2/conf.d/repos<Directory /var/www/repos/ > # We want the user to be able to browse the directory manually Options Indexes FollowSymLinks Multiviews Order allow,deny Allow from all</Directory># This syntax supports several repositories, e.g. one for Debian, one for Ubuntu.# Replace * with debian, if you intend to support one distribution only.<Directory "/var/www/repos/apt/*/db/"> Order deny,allow Deny from all</Directory><Directory "/var/www/repos/apt/*/conf/"> Order deny,allow Deny from all</Directory><Directory "/var/www/repos/apt/*/incoming/"> Order allow,deny Deny from all</Directory>Finally, reload and test the server.
$ apache2ctl configtestSyntax OK$ /etc/init.d/apache2 reloadReloading web server config: apache2.That's all about hosting reprepro with Apache.