Results 1 to 9 of 9

Thread: joomla in /srv/www

  1. #1
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    436

    Default joomla in /srv/www

    hi

    i installed joomla, every package done for suse seem to install directly under /srv/www/

    apache don't seem to see thing outside /srv/www/htdocs/

    what can i do to get joomla working from there?

    thanks
    www.laboiteaprog.com

  2. #2
    Join Date
    May 2012
    Location
    Finland
    Posts
    2,002

    Default Re: joomla in /srv/www

    Could you point out where you acquired these packages because /srv/www/htdocs is the default location for content - if you are installing Joomla you should just uncompress it there and change the file permissions so that wwwrun can access the cache/temp directories but otherwise the files should be owned by root.
    .: miuku #suse @ irc.freenode.net
    :: miuku@opensuse.org

    .: h​ttps://download.opensuse.org/repositories/home:/Miuku/

  3. #3
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    436

    Default Re: joomla in /srv/www

    www.laboiteaprog.com

  4. #4
    Join Date
    May 2012
    Location
    Finland
    Posts
    2,002

    Default Re: joomla in /srv/www

    I'm guessing they've done it this way because they assume people want to setup a virtual host for joomla and thus make a new .conf file.

    Will this be a production system or are you just installing it to see how it works?

    You could take a look at /etc/apache2/vhosts.d/vhost.template and copy it as joomla.conf then edit it accordingly - Documentroot should be /srv/www/joomla
    .: miuku #suse @ irc.freenode.net
    :: miuku@opensuse.org

    .: h​ttps://download.opensuse.org/repositories/home:/Miuku/

  5. #5
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    436

    Default Re: joomla in /srv/www

    only for local test...

    so i moved folder to htdocs, but with localhost/joomla
    i get a permission problem

    4 drwxr-xr-x 4 root root 4096 10 août 14:40 htdocs
    drwxr-xr-x 18 wwwrun www 4096 10 août 14:13 joomla
    www.laboiteaprog.com

  6. #6
    Join Date
    May 2012
    Location
    Finland
    Posts
    2,002

    Default Re: joomla in /srv/www

    If it's just for local testing, you can just recursively change the permissions for the joomla directory, files and subdirectories to wwwrun:www, however you should never set it up like that for a production system or any system connected to the internet in any way (where the Apache is accessible of course).

    What permission errors are you getting?
    .: miuku #suse @ irc.freenode.net
    :: miuku@opensuse.org

    .: h​ttps://download.opensuse.org/repositories/home:/Miuku/

  7. #7
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    436

    Default Re: joomla in /srv/www

    i downloaded joomla directly from their homesite and that worked fine directly.

    Crazy then for a so much popular package there is not package done by suse directlly.
    www.laboiteaprog.com

  8. #8
    Join Date
    May 2012
    Location
    Finland
    Posts
    2,002

    Default Re: joomla in /srv/www

    It's yet-another-package that takes a lot of maintenance and if there's no one with the time to do it..

    Joomla gets constant updates and security fixes, not to mention many of the modules get updated at a crazy rate. It's pretty painful to keep up to date.
    .: miuku #suse @ irc.freenode.net
    :: miuku@opensuse.org

    .: h​ttps://download.opensuse.org/repositories/home:/Miuku/

  9. #9
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,833
    Blog Entries
    2

    Default Re: joomla in /srv/www

    If you wanted to simply re-point the default website to where the Joomla files exist,

    Probably the easiest way (assuming you installed Apache) is to install the YAST http server applet.
    Within that applet, you can do a number of things easily, including what is needed here.

    You should probably install the YAST http server applet anyway...

    TSU

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •