Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apacheconfig missing (or am i blind)? #437

Closed
ragnar76 opened this issue May 7, 2017 · 5 comments
Closed

Apacheconfig missing (or am i blind)? #437

ragnar76 opened this issue May 7, 2017 · 5 comments

Comments

@ragnar76
Copy link

ragnar76 commented May 7, 2017

Hey,

i've just installed the latest version from your debian repository. after follwing the debian install guide, and following the tar guide later, i was not able to access it (404). the problem is, dpkg unpacks it to /var/www which is not the default www-root for debians apache 2.4 (its /var/www/html). so i had to write my own config and put it in /etc/apache/site-enabled (see below).

i think you should mention that in the docs

Alias /froxlor /var/www/froxlor
<Directory /var/www/froxlor>
    Options FollowSymLinks
    DirectoryIndex index.php

    <IfModule mod_php5.c>
        <IfModule mod_mime.c>
            AddType application/x-httpd-php .php
        </IfModule>
        <FilesMatch ".+\.php$">
            SetHandler application/x-httpd-php
        </FilesMatch>
    </IfModule>
</Directory>
@d00p
Copy link
Member

d00p commented May 7, 2017

Just edit sites-enabled/000-default and change /var/www/html to /var/www/ ...no need for your own configs...

@d00p d00p closed this as completed May 7, 2017
@ragnar76
Copy link
Author

ragnar76 commented May 7, 2017

imho, writing a separate config file is no magic at all, its a question of faith. but thats not the point here, a hint inside the docs would be great

@d00p
Copy link
Member

d00p commented May 7, 2017

there is NO NEED for a custom config files, that's the point. And for installation, froxlor just needs to be in the default webroot, which is usually /var/www/, only on jessie (and maybe ubuntu 16.06) it's /var/www/html

@ragnar76
Copy link
Author

ragnar76 commented May 7, 2017

what i dont get, you provide a package for jessie, you now that the document root is /var/www/html but still, you install in /var/www ? why? if the package is the same for wheezy and jessie, why dont you fiddle around with the doinst script and copy the files to the right place?

@nachtgeist
Copy link
Contributor

Granted, the Froxlor package doesn't adhere to the Debian Policy. But /var/www/html is still not the right™ place to put it. The cleanest destination for a Debian system would be /usr/share/froxlor and work with Alias directives from there.

However we decided against that quite a while back to keep deviations between distributions to a minimum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants