Own Package Repository
-
I also tried these two types…it remains exciting.
-
The output from pkg_tester looks like it's not in the server root but inside a pfSense folder. Is that still the case?
Steve
-
It is in both now.
localhost/pfSense/pkg_tester.php
and
localhost/pkg_tester.php
-
It works! :-)) mistake in virtual machine
-
Version 2.0 and Version 2.1 works !
but 2.1.5 the latest version does not want so far…
-
Nice. :)
2.0 and 2.1 working but later versions not working are the exact symptoms described in the thread you linked to.Steve
-
To run pfSense Version 2.1.5 the URL must not be an ip address. It has to be a name. To resolve the address in an ip you can make an entry in /etc/hosts. ;)
To test the repo I downloaded a package. I changed the URL in <depends_on_package_base_url>.
<depends_on_package_base_url>https://Webserver/packages/8/All/</depends_on_package_base_url>
This works, but I can not change the URL from the <config_file><config_file>https://packages.pfsense.org/packages/config/phpsysinfo/phpsysinfo.xml</config_file>
I think the problem is, that my Webserver can not show the xml file.</config_file></depends_on_package_base_url>
-
I followed the instructions at http://codenaut.blogspot.de/2009/03/setup-apache-to-serve-xml-files.html.
I added these two lines in httpd.conf within "<ifmodule mime_module="">"
AddType application/xhtml+xml .xhtml .xml
AddEncoding xhtml xml
still not works - an idea?
In the Attachment you see the outputs from Firefox and FreeBSD Browser - different outputs…
localhost/packages/config/phpsysinfo/phpsysinfo.xml
The output is not the same to
https://packages.pfsense.org/packages/config/phpsysinfo/phpsysinfo.xml
</ifmodule> -
I do remember having to make some chage to the Apache config to allow it to serve files rather than interpreting them but I'm fairly sure that was php. Hmm, could be wrong it was a long time ago. :-\
Steve
-
I believe you mean the .htaccess file.
The Browsers show the files different, so I downloaded the file to see exactly what is wrong.
I get the file from my Webserver without the content in brackets.–-------------------------------------------
It works! :-)There are two MIME Types of XML
AddType text/xhtml+xml .xhtml .xml
AddEncoding xhtml xml