PhpMyAdmin from pacman

Hi, I have apache, php and mysql all working.
Installed phpmyadmin from pacman.
But I can't get it to work.
In /srv/www there is a folder called phpmyadmin with files in it, but there is no folder i /etc called phpmyadmin?
Isnt it correctly installed? Trying to access it by localhost/~USER/phpMyAdmin (made ln -s from my home to the srv/www/phpMyAdmin) I get:
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.

Check as what user/group apache is run.
Check if that user can read /srv/www/phpMyAdmin and write /srv/www/phpMyAdmin/config.
I don't know your config but try http://localhost/phpMyAdmin/.
Last edited by delor (2008-08-26 06:14:16)

Similar Messages

  • Kdemod removed from pacman.conf but not from /var/lib/pacman

    Hello all
    I have been using kdemod repository for some time.
    Since I use Gnome I have removed all my kde/qt applications and I have removed kdemod repository from pacman.conf
    Is it normal to still have kdemod into /var/lib/pacman ?
    Can I safely remove /var/lib/pacman/kdemod (not /var/lib/pacman of course) ?
    Why pacman does not remove it when syncing if no more present in pacman.conf ?
    Is it a bug ? a feature ?
    Thank you for your help !
    Cheers,
    Chicha.

    shining wrote:I think this has little interest, since the repo will be downloaded again on next -Sy anyway.
    It's probably neither a bug, nor a feature, rather the lack of a feature, because checking that
    some folders in /var/lib/pacman/ doesn't match a section in pacman.conf would require extra code.
    Ooops I thought I checked for this hehe.
    Are you sure pacman downloads the whole database everytime?
    I just did an update:
    yaourt -Sy
    :: Synchronizing package databases...
    testing is up to date
    current is up to date
    extra 270.5K 299.4K/s 00:00:01 [##################################################] 100%
    community 291.4K 302.8K/s 00:00:01 [################################################] 100%
    compiz-fusion is up to date
    local database is up to date
    If a repo is uptodate it doesn't download the database, so pacman must check that somehow.
    Also, it show that to sync extra, 270.5K was transferred, is that the entire extra repo?
    When I check the size of /var/lib/pacman/extra it's 5.7 Megs. Maybe the repo is compressed,
    transferred, and then decompressed on each sync.
    If that's the case, as you say my argument doesn't hold much water

  • [Solved] Can I enable netbeans support in vim from pacman?

    I'm trying to install pyclewn, and it requires netbeans to be enabled in vim. This is not enabled by default, and has to be specified at compile time. Is there a way I can do this from pacman? I'd like to keep it in the package manager, so I don't have to update it myself later.
    Last edited by miscsubbin (2013-01-18 23:24:52)

    Welcome to the boards.
    You can use ABS to rebuild Vim with netbeans support and have pacman track it...

  • Can't install KDE or GNOME from pacman

    When I try to install KDE or GNOME from pacman, the system downloads most or all of the files, from what I can see, and then returns a bunch of errors of the form "gcc-libs: /usr/lib/libssp.so exists in filesystem". I'd post the entirety of the messages, but I can't figure out how to pipe output from pacman without making it impossible to enter "yes" at the install prompt. This problem occurs with both kde and gnome, and from what I can tell it looks like basically the same set of errors with either one.

    What does "pacman -Qo /usr/lib/libssp.so" say?  It should say gcc-libs and not gcc.  I'm guessing you have just installed.  Have you done a "pacman -Syu"?  The gcc package was split into gcc and gcc-libs.
    In fact it looks remarkably similar to this" http://bbs.archlinux.org/viewtopic.php?id=37690   

  • How to Return List of Packages from Pacman/Yaourt Search

    ----EDIT----
    Changed the name of the script from pacsearch to pacdot.
    Apparently yaourt -Ssaq does this, so this script isn't as necessary as I thought. Although, I still find using pacdot -w to open the results in a text document helpful.
    ----/EDIT----
    This isn't a question; it's a script I wrote. I thought someone else might find this useful.
    I keep finding myself searching with pacman or yaourt and wishing I could get just the package names, not all of the extra stuff. For example, I'd love to be able to run yaourt -Sa $(yaourt -Ssa package). It doesn't seem like pacman and yaourt have an option for this (not that I can tell, at least), so I wrote a python script to do it. Copy it if you'd like. You can name it what you want, but I'll refer to it as pacdot.py.
    pacdot.py package will be like yaourt -Ssa package but only list the package names.
    I added a few extra options:
    pacdot.py -o package will only list results from the official Arch repositories, not the AUR.
    pacdot.py -i package will install all the found packages. If you've ever thought about running something like yaourt -Sa $(yaourt -Ssa package), that's what this command does.
    pacdot.py -w package will:
    Create a file called 'the-package-you-searched.txt',
    Write an example command that would install the found packages,
    (yaourt -Sa all-of-the-results),
    Write each result on a new line, and
    Open the file for you (with your default text editor).
    Here's the code:
    #!/bin/python3
    import argparse
    import re
    from subprocess import Popen, PIPE, call
    from collections import deque
    desc = ''.join(('Search the official Arch and AUR databases ',
    'and return package names only. ',
    'e.g.: `pacdot.py arch` will return "arch", ',
    'whereas `$ yaourt -Ssa arch` will return ',
    '"community/arch 1.3.5-10',
    ' A modern and remarkable revision control system."'
    parser = argparse.ArgumentParser(description=desc)
    parser.add_argument('package',
    help='Package to search with pacman')
    parser.add_argument('-o', '--official', action='store_true',
    help='Search official repositories only, not the AUR')
    parser.add_argument('-i', '--install', action='store_true',
    help='Install found packages')
    parser.add_argument('-w', '--write', action='store_true',
    help='Write to file')
    #Set args strings.
    args = parser.parse_args()
    pkg = args.package
    official_only = args.official
    install = args.install
    write = args.write
    # Do yaourt search.
    package_search = Popen(['yaourt', '-Ssa', '%s' % pkg], stdout=PIPE).communicate()
    # Put each found package into a list.
    package_titles_descs = str(package_search[0]).split('\\n')
    # Strip off the packages descriptions.
    package_titles = [package_titles_descs[i]
    for i in range(0, len(package_titles_descs), 2)]
    # Remove empty item in list.
    del(package_titles[-1])
    # Make a separate list of the non-aur packages.
    package_titles_official = deque(package_titles)
    [package_titles_official.remove(p)
    for p in package_titles if p.startswith('aur')]
    # Strip off extra stuff like repository names and version numbers.
    packages_all = [re.sub('([^/]+)/([^\s]+) (.*)',
    r'\2', str(p))
    for p in package_titles]
    packages_official = [re.sub('([^/]+)/([^\s]+) (.*)',
    r'\2', str(p))
    for p in package_titles_official]
    # Mark the aur packages.
    # (Not needed, just in case you want to modify this script.)
    #packages_aur = packages_all[len(packages_official):]
    # Set target packages to 'all' or 'official repos only'
    # based on argparse arguments.
    if official_only:
    packages = packages_official
    else:
    packages = packages_all
    # Print the good stuff.
    for p in packages:
    print(p)
    if write:
    # Write results to file.
    filename = ''.join((pkg, '.txt'))
    with open(filename, 'a') as f:
    print(''.join(('Yaourt search for "', pkg, '"\n')), file=f)
    print('To install:', file=f)
    packages_string = ' '.join(packages)
    print(' '.join(('yaourt -Sa', packages_string)), file=f)
    print('\nPackage list:', file=f)
    for p in packages:
    print(p, file=f)
    # Open file.
    call(('xdg-open', filename))
    if install:
    # Install packages with yaourt.
    for p in packages:
    print(''.join(('\n\033[1;32m==> ', '\033[1;37m', p,
    '\033[0m')))
    Popen(['yaourt', '-Sa', '%s' % p]).communicate()
    Last edited by GreenRaccoon23 (2014-12-22 19:17:37)

    expac works only with official and unofficial repos, not with the AUR, but it's very nice.
    Adding  '-q' should help, grep to weed out false positives.
    yaourt -Sa $(yaourt -Ssaq pulse)
    works, but
    $ yaourt -Sa $(yaourt -Ssaq chrome)
    resolving dependencies...
    looking for inter-conflicts...
    warning: removing 'chromium' from target list because it conflicts with 'chromium-no-sse2'
    error: unresolvable package conflicts detected
    error: failed to prepare transaction (conflicting dependencies)
    :: chromium-no-sse2 and chromium-scroll-pixelGs are in conflict
    so at least
    $ yaourt -Sa $(yaourt -Ssaq chrome|grep google)
    is needed.
    Edit: Also:
    $ LC_ALL=C TZ=GMT0 diff -Naur /usr/bin/pacsearch /usr/local/bin/pacsearch
    --- /usr/bin/pacsearch 2014-11-21 11:20:37.000000000 +0000
    +++ /usr/local/bin/pacsearch 2014-12-21 08:21:14.758856006 +0000
    @@ -84,7 +84,7 @@
    my %allpkgs = ();
    -my $syncout = `pacman -Ss '@ARGV'`;
    +my $syncout = `pacman -Ssq '@ARGV'`;
    # split each sync search entry into its own array entry
    my @syncpkgs = split(/\n^(?=\w)/m, $syncout);
    # remove the extra \n from the last desc entry
    @@ -110,7 +110,7 @@
    $allpkgs{$pkgfields[1]} = [ @pkgfields ];
    -my $queryout = `pacman -Qs '@ARGV'`;
    +my $queryout = `pacman -Qqs '@ARGV'`;
    # split each querysearch entry into its own array entry
    my @querypkgs = split(/\n^(?=\w)/m, $queryout);
    # remove the extra \n from the last desc entry
    $ /usr/local/bin/pacsearch pulse
    libpulse
    pulseaudio
    libao
    libcanberra-pulse
    libpulse
    paprefs
    pavucontrol
    pulseaudio
    pulseaudio-alsa
    floyd
    libcec
    mate-media-pulseaudio
    mate-settings-daemon-pulseaudio
    ponymix
    projectm-pulseaudio
    Although why not simply use pacman or expac?
    Last edited by karol (2014-12-21 08:26:48)

  • [solved]unsure of result from pacman -Syu

    hi
    i just did a pacman -Syu and got the following warning!
    [root@arch danny]# pacman -Syu
    :: Synchronising package databases...
    core is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade...
    warning: iproute: local (070710-1) is newer than core (2.6.24_rc7-1)
    local database is up to date
    [root@arch danny]#
    any ideas?? thanks
    Last edited by ninjaprawn (2010-02-19 17:07:05)

    If you didn't install a different iproute version manually (not from the official repositories), then you should do:
    pacman -S iproute
    and simply reinstall iproute and all should be fine.

  • [Solved] Unknown bandwidth usage coming from pacman mirrors

    Each 1 or 2 days, there is a brief unknown bandwidth usage coming my
    pacman mirrors, downloading about 15-20mb. I would like to know what is
    responsible for this behavior.
    During the bandwidth usage, I did the following commands to get some hints:
    $ tshark -i wlan0
    18.601379 192.75.96.254 -> [ my_ip ] TCP 1506 [TCP segment of a reassembled PDU
    18.604131 192.75.96.254 -> [ my_ip ] TCP 1506 [TCP segment of a reassembled PDU]
    18.604139 [ my_ip ] -> 192.75.96.254 TCP 66 41989 > http [ACK] Seq=173 Ack=3281761 Win=239040 Len=0 TSval=14001135 TSecr=3310908095
    $ sudo netstat -apntu
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 [ my_ip ]:41989 192.75.96.254:80 ESTABLISHED 5331/python3
    where 192.75.96.254 seems related to the domain name of my first mirror in the mirrorlist:
    http://mirror.its.dal.ca/
    Last edited by ramboman (2012-03-04 22:30:02)

    In cron.daily, there is a "pkgfile" :
    #!/bin/bash
    . /etc/pkgtools/pkgfile.conf
    if (( $UPDATE_CRON )); then
    /usr/bin/pkgfile --update >/dev/null
    fi
    from package : pkgtools
    which seems to be the main suspect.
    Thanks fukawi2 to make me figure it out.

  • [SOLVED] Exclude a package from pacman database without uninstalling

    Hi all,
    I have heroes of newerth installed from AUR and I would like to detach this package from the database so it doesnt get updated when I use packer, the reason is because when an update occurs, I have to download the whole game again, and if I dont update the game prompts me to update when I login and I get only the patch (which results in a 2 minutes download instead of an hour download)
    So what I want to do Is tell pacman or packer that this package should be tracked an updated anymore, how can I do that?
    cheers and thanks for the help
    Last edited by 655321 (2011-08-26 22:02:51)

    mcmillan wrote:
    From man pacman
    TRANSACTION OPTIONS (APPLY TO -S, -R AND -U)
    -k, --dbonly
    Adds/Removes the database entry only, leaves all files in place.
    This would probably be a more proper way than just deleting the files from /var/lib/pacman/local. Though it may be best to reinstall it outside of pacman like Karol suggested just to be sure nothing is inconsistant.
    I didn't say it, Stebalien did ;P but I too think it would be the best choice.

  • [SOLVED] just did an update - seeing systemd related info from pacman

    EDIT:   re-reading through the archlinux grub2 docs, I just saw this:  https://wiki.archlinux.org/index.php/GR … _arguments    ... hoping that's all I have to do for a smooth reboot?
    I just got done with major epic headaches dealing with the  'The /lib directory becomes a symlink' issue from 2012-07-14 - in fact I had to just freaking do a complete reinstall.  ( it went with no issues on one of my pc's, then when I later tried a major upgrade on my other pc, it all went to bloody hell )
    ... so, I _just_ got the other pc running via fresh install yesterday, and today I do a 'pacman -Syu'...  to get another ominous sounding warning of possible impending doom...
    I'm concerned about the "Append 'init=/bin/systemd' to your kernel command line in your bootloader to replace sysvinit with systemd" :
    # pacman -Syyu
    :: Synchronizing package databases...
    core 106.7 KiB 247K/s 00:00 [#############################################################################] 100%
    extra 1421.7 KiB 714K/s 00:02 [#############################################################################] 100%
    community 1777.2 KiB 646K/s 00:03 [#############################################################################] 100%
    :: Starting full system upgrade...
    :: Replace libsystemd with core/systemd? [Y/n] Y
    :: Replace systemd-tools with core/systemd? [Y/n] Y
    resolving dependencies...
    looking for inter-conflicts...
    Targets (12): cracklib-2.8.19-1 filesystem-2012.8-1 firefox-15.0-1 gdk-pixbuf2-2.26.3-1 glibc-2.16.0-4 ifplugd-0.28-13 initscripts-2012.08.3-2 libsystemd-188-2 [removal] pkg-config-0.27.1-1
    rekonq-1.1-1 systemd-189-3 systemd-tools-188-2 [removal]
    Total Download Size: 29.00 MiB
    Total Installed Size: 91.14 MiB
    Net Upgrade Size: 7.73 MiB
    ( 6/10) upgrading ifplugd [#############################################################################] 100%
    * When used with initscripts, /etc/ifplugd/ifplugd.conf now uses
    INTERFACES= again instead of NET_IFS=.
    * This package no longer provides a default ifplugd.action script.
    * To use ifplugd with systemd, run
    systemctl enable [email protected]
    ( 7/10) installing systemd [#############################################################################] 100%
    ln -s '/usr/lib/systemd/system/[email protected]' '/etc/systemd/system/getty.target.wants/[email protected]'
    :: Append 'init=/bin/systemd' to your kernel command line in your
    bootloader to replace sysvinit with systemd
    Question #1: Will my system boot if I _don't_ add the "init=/bin/systemd" to my kernel command line in my bootloader?
    Question #2: I'm using grub2 via bios MBR; yesterday when I installed the new system using the latest archlinux install iso, I generated the grub2 conf using the "grub-mkconfig -o /boot/grub/grub.cfg" technique... which build a crazy looking conf that looks more like a shell script than anything.  ( I'm used to editing the old grub1 config manually, and it made sense to me ).  So where the heck am I supposed to put this 'init=/bin/systemd' pragma?
    Assistance and advice much appreciated!
    Last edited by corey_s (2012-08-30 20:01:47)

    silentsnake wrote:
    Hi,
    according to the mailing list they just merged libsystemd and systemd-tools to the systemd package. Since the initscripts are still present, you can leave it alone and it will boot as usual. The message is more like a friendly 'C'mon, we'll going to switch to systemd anytime soon, so just give it a try.'.
    I haven't used grub2 for a while, but there should be a file called /etc/default/grub where you can add GRUB_CMDLINE_LINUX="init=/bin/systemd". Then regenerate the configuration via grub-mkconfig and you are good to go.
    Edit: Too late
    Thanks for your time in responding though anyhow - much appreciated!   (c8=

  • Difference between 'whoneeds' from pkgtools and 'pactree' from pacman.

    Why 'whoneeds zlib' and 'pactree -lru zlib' produce different results? 'pactree' is much faster too:
    [karol@black ~]$ time whoneeds zlib | wc -l
    103
    real 0m10.130s
    user 0m5.050s
    sys 0m4.136s
    [karol@black ~]$ time pactree -lru zlib | wc -l
    177
    real 0m0.101s
    user 0m0.020s
    sys 0m0.037s

    Turns out if you peek in the code, good things happen ;P
    [karol@black ~]$ head /usr/bin/whoneeds
    #!/bin/bash
    # whoneeds package : shows explicitly installed packages that require some package
    Hopefully we'll get a '--help' option one day https://bugs.archlinux.org/task/27387 or may we can drop this script entirely.
    The performance is not that bad for smaller dep trees:
    [karol@black ~]$ time comm -12 <(pactree -lru gcc|sort) <(pacman -Qqe|sort)
    gcc
    libgphoto2
    libtool
    mplayer2
    real 0m0.123s
    user 0m0.027s
    sys 0m0.053s
    [karol@black ~]$ time whoneeds gcc
    Packages that depend on [gcc]
    libgphoto2
    libtool
    mplayer2
    real 0m0.329s
    user 0m0.160s
    sys 0m0.113s
    'gcc' was explicitly installed on my system and it was reported in the first query, but not by 'whoneeds'.
    I think
    comm -12 <(pactree -lru $1|sort) <(pacman -Qqe|sort) | grep -v $1
    could do 'whneeds' job. Posted to the ML: http://mailman.archlinux.org/pipermail/ … 02250.html
    Posted on pkgtools' bugtracker: https://github.com/Daenyth/pkgtools/issues/40
    Last edited by karol (2011-12-08 17:11:53)

  • Toshiba 'fn' keys don't work after update to kernel from pacman

    I updated my system, a toshiba NB505, which had working 'fn' keys. (screen brightness specifically)
    I don't know if it's possible to go back in kernel releases, if they're deleted or such (I had previously thought that maybe the fallback was just the last working kernel, nope), or if this is a problem with something else.

    chrisportela wrote:is xev a command/program?
    yes. Try man pages as well.
    You can also use xbindkeys to figure out the keybinding. For eg. for my wife's toshiba L505, when I clicked Alt + F2, xbindkeys returned a code of
    Mod1 + Mod2 + F2
    I think..or something like that. I will go home and check later tonight.

  • Httpd 2.2 - alias

    I'm trying to use httpd alias on phpmyadmin and all I get is a WSOD. Initially I used phpmyadmin from pacman, and after setting up the alias I got WSOD (white screen of death). So I then downloaded off phpmyadmin.net and did everything manually. same thing. what am I missing? i've googled httpd/apache + alias, all they added were these:
    Alias /phpMyAdmin /srv/webapps/phpMyAdmin
    <Directory "/srv/webapps">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    Above code is part of below. Below is the full httpd.conf.
    # This is the main Apache HTTP server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
    # In particular, see
    # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
    # for a discussion of each configuration directive.
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned.
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path. If the filenames do *not* begin
    # with "/", the value of ServerRoot is prepended -- so "/var/log/httpd/foo_log"
    # with ServerRoot set to "/etc/httpd" will be interpreted by the
    # server as "/etc/httpd//var/log/httpd/foo_log".
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    # Do not add a slash at the end of the directory path. If you point
    # ServerRoot at a non-local disk, be sure to point the LockFile directive
    # at a local disk. If you wish to share the same ServerRoot for multiple
    # httpd daemons, you will need to change at least LockFile and PidFile.
    ServerRoot "/etc/httpd"
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses.
    #Listen 12.34.56.78:80
    Listen 80
    # Dynamic Shared Object (DSO) Support
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available _before_ they are used.
    # Statically compiled modules (those listed by `httpd -l') do not need
    # to be loaded here.
    # Example:
    # LoadModule foo_module modules/mod_foo.so
    LoadModule authn_file_module modules/mod_authn_file.so
    LoadModule authn_dbm_module modules/mod_authn_dbm.so
    LoadModule authn_anon_module modules/mod_authn_anon.so
    LoadModule authn_dbd_module modules/mod_authn_dbd.so
    LoadModule authn_default_module modules/mod_authn_default.so
    LoadModule authz_host_module modules/mod_authz_host.so
    LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
    LoadModule authz_user_module modules/mod_authz_user.so
    LoadModule authz_dbm_module modules/mod_authz_dbm.so
    LoadModule authz_owner_module modules/mod_authz_owner.so
    LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
    LoadModule authz_default_module modules/mod_authz_default.so
    LoadModule auth_basic_module modules/mod_auth_basic.so
    LoadModule auth_digest_module modules/mod_auth_digest.so
    LoadModule file_cache_module modules/mod_file_cache.so
    LoadModule cache_module modules/mod_cache.so
    LoadModule disk_cache_module modules/mod_disk_cache.so
    LoadModule mem_cache_module modules/mod_mem_cache.so
    LoadModule dbd_module modules/mod_dbd.so
    LoadModule dumpio_module modules/mod_dumpio.so
    LoadModule ext_filter_module modules/mod_ext_filter.so
    LoadModule include_module modules/mod_include.so
    LoadModule filter_module modules/mod_filter.so
    LoadModule substitute_module modules/mod_substitute.so
    LoadModule deflate_module modules/mod_deflate.so
    LoadModule ldap_module modules/mod_ldap.so
    LoadModule log_config_module modules/mod_log_config.so
    LoadModule log_forensic_module modules/mod_log_forensic.so
    LoadModule logio_module modules/mod_logio.so
    LoadModule env_module modules/mod_env.so
    LoadModule mime_magic_module modules/mod_mime_magic.so
    LoadModule cern_meta_module modules/mod_cern_meta.so
    LoadModule expires_module modules/mod_expires.so
    LoadModule headers_module modules/mod_headers.so
    LoadModule ident_module modules/mod_ident.so
    LoadModule usertrack_module modules/mod_usertrack.so
    LoadModule unique_id_module modules/mod_unique_id.so
    LoadModule setenvif_module modules/mod_setenvif.so
    LoadModule version_module modules/mod_version.so
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_connect_module modules/mod_proxy_connect.so
    LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    LoadModule ssl_module modules/mod_ssl.so
    LoadModule mime_module modules/mod_mime.so
    LoadModule dav_module modules/mod_dav.so
    LoadModule status_module modules/mod_status.so
    LoadModule autoindex_module modules/mod_autoindex.so
    LoadModule asis_module modules/mod_asis.so
    LoadModule info_module modules/mod_info.so
    LoadModule suexec_module modules/mod_suexec.so
    LoadModule cgi_module modules/mod_cgi.so
    LoadModule cgid_module modules/mod_cgid.so
    LoadModule dav_fs_module modules/mod_dav_fs.so
    LoadModule vhost_alias_module modules/mod_vhost_alias.so
    LoadModule negotiation_module modules/mod_negotiation.so
    LoadModule dir_module modules/mod_dir.so
    LoadModule imagemap_module modules/mod_imagemap.so
    LoadModule actions_module modules/mod_actions.so
    LoadModule speling_module modules/mod_speling.so
    LoadModule userdir_module modules/mod_userdir.so
    LoadModule alias_module modules/mod_alias.so
    LoadModule rewrite_module modules/mod_rewrite.so
    LoadModule php5_module modules/libphp5.so
    <IfModule !mpm_netware_module>
    <IfModule !mpm_winnt_module>
    # If you wish httpd to run as a different user or group, you must run
    # httpd as root initially and it will switch.
    # User/Group: The name (or #number) of the user/group to run httpd as.
    # It is usually good practice to create a dedicated user and group for
    # running httpd, as with most system services.
    User http
    Group http
    </IfModule>
    </IfModule>
    # 'Main' server configuration
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition. These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed. This address appears on some server-generated pages, such
    # as error documents. e.g. [email protected]
    ServerAdmin rixadmin@mach2
    # ServerName gives the name and port that the server uses to identify itself.
    # This can often be determined automatically, but we recommend you specify
    # it explicitly to prevent problems during startup.
    # If your host doesn't have a registered DNS name, enter its IP address here.
    ServerName 192.168.0.9:80
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/srv/http"
    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    # First, we configure the "default" to be a very restrictive set of
    # features.
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "/srv/http">
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    # The Options directive is both complicated and important. Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    Options Indexes FollowSymLinks
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    AllowOverride None
    # Controls who can get stuff from this server.
    Order allow,deny
    Allow from all
    </Directory>
    Alias /phpMyAdmin /srv/webapps/phpMyAdmin
    <Directory "/srv/webapps">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    <IfModule dir_module>
    DirectoryIndex index.html
    </IfModule>
    # The following lines prevent .htaccess and .htpasswd files from being
    # viewed by Web clients.
    <FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
    </FilesMatch>
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here. If you *do* define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    ErrorLog "/var/log/httpd/error_log"
    # LogLevel: Control the number of messages logged to the error_log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    <IfModule log_config_module>
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    <IfModule logio_module>
    # You need to enable mod_logio.c to use %I and %O
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here. Contrariwise, if you *do*
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and *not* in this file.
    CustomLog "/var/log/httpd/access_log" common
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #CustomLog "/var/log/httpd/access_log" combined
    </IfModule>
    <IfModule alias_module>
    # Redirect: Allows you to tell clients about documents that used to
    # exist in your server's namespace, but do not anymore. The client
    # will make a new request for the document at its new location.
    # Example:
    # Redirect permanent /foo http://www.example.com/bar
    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL. You will also likely
    # need to provide a <Directory> section to allow access to
    # the filesystem path.
    # Alias "/phpMyAdmin" "/srv/webapps/phpMyAdmin/"
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client. The same rules about trailing "/" apply to ScriptAlias
    # directives as to Alias.
    ScriptAlias /cgi-bin/ "/srv/http/cgi-bin/"
    </IfModule>
    <IfModule cgid_module>
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #Scriptsock /var/run/httpd/cgisock
    </IfModule>
    # "/srv/http/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    <Directory "/srv/http/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    # DefaultType: the default MIME type the server will use for a document
    # if it cannot otherwise determine one, such as from filename extensions.
    # If your server contains mostly text or HTML documents, "text/plain" is
    # a good value. If most of your content is binary, such as applications
    # or images, you may want to use "application/octet-stream" instead to
    # keep browsers from trying to display binary files as though they are
    # text.
    DefaultType text/plain
    <IfModule mime_module>
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    TypesConfig conf/mime.types
    # AddType allows you to add to or override the MIME configuration
    # file specified in TypesConfig for specific file types.
    #AddType application/x-gzip .tgz
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    # AddHandler allows you to map certain file extensions to "handlers":
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action directive (see below)
    # To use CGI scripts outside of ScriptAliased directories:
    # (You will also need to add "ExecCGI" to the "Options" directive.)
    #AddHandler cgi-script .cgi
    # For type maps (negotiated resources):
    #AddHandler type-map var
    # Filters allow you to process content before it is sent to the client.
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #AddType text/html .shtml
    #AddOutputFilter INCLUDES .shtml
    </IfModule>
    # The mod_mime_magic module allows the server to use various hints from the
    # contents of the file itself to determine its type. The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    #MIMEMagicFile conf/magic
    # Customizable error responses come in three flavors:
    # 1) plain text 2) local redirects 3) external redirects
    # Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://www.example.com/subscription_info.html
    # EnableMMAP and EnableSendfile: On systems that support it,
    # memory-mapping or the sendfile syscall is used to deliver
    # files. This usually improves server performance, but must
    # be turned off when serving from networked-mounted
    # filesystems or if support for these functions is otherwise
    # broken on your system.
    #EnableMMAP off
    #EnableSendfile off
    # Supplemental configuration
    # The configuration files in the conf/extra/ directory can be
    # included to add extra features or to modify the default configuration of
    # the server, or you may simply copy their contents here and change as
    # necessary.
    # Server-pool management (MPM specific)
    #Include conf/extra/httpd-mpm.conf
    # Multi-language error messages
    Include conf/extra/httpd-multilang-errordoc.conf
    # Fancy directory listings
    Include conf/extra/httpd-autoindex.conf
    # Language settings
    Include conf/extra/httpd-languages.conf
    # User home directories
    Include conf/extra/httpd-userdir.conf
    # Real-time info on requests and configuration
    #Include conf/extra/httpd-info.conf
    # Virtual hosts
    #Include conf/extra/httpd-vhosts.conf
    # Local access to the Apache HTTP Server Manual
    #Include conf/extra/httpd-manual.conf
    # Distributed authoring and versioning (WebDAV)
    #Include conf/extra/httpd-dav.conf
    # Various default settings
    Include conf/extra/httpd-default.conf
    # Secure (SSL/TLS) connections
    #Include conf/extra/httpd-ssl.conf
    # Note: The following must must be present to support
    # starting without SSL on platforms with no /dev/random equivalent
    # but a statically compiled-in mod_ssl.
    Include conf/extra/php5_module.conf
    Include conf/extra/httpd-videocache.conf
    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>

    Check your PHP logs (/var/log/user.log, I think). You'll most likely missing the following restriction:
    [foutrelis@failboat ~]$ grep basedir /etc/php/php.ini
    ; open_basedir, if set, limits all file operations to the defined directory
    open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/

  • Pacman kernel version different from abs tree

    I've started using Arch Linux since last week, switching from Ubuntu, and I must say, I'm impressed. I've been using Gentoo on another system for a while, and I wanted the power of Gentoo, without the compiling, which actually is what Arch is providing.
    I've installed a i686 system, but I have 8Gb of memory so I've compiled my own kernel with HIGHMEM64G=yes.
    When I updated my system today, I got a new kernel package from pacman: 3.1.3-1.
    But when I rebuild my kernel using abs, I get 3.1.2-1.
    Shouldn't these versions be the same? I've tried different mirrors to sync my abs tree, to no effect. Am I missing something?

    Ok, thanks, then I know what's going on.
    How can I use a 64bit kernel with a i686 install? That might be easier than recompiling my kernel each time. What about nvidia module and virtual box modules? I had to recompile these myself as well after I compiled my own kernel.
    Sure, if I had to reinstall, I'd go 64bit all the way; though I now have my system full up and running and configured so I'm not really looking forward reinstalling right now. I chose i686 not for a particular reason, I just assumed there would be a pae enabled kernel, but unfortunately there isn't one in the official repositories.

  • What happened to phpmyadmin

    Why can I not find this application on the mirrors anymore?
    Did I miss something and there is a better application for administrating mySQL and phpmyadmin is no longer used?
    Or maybe I am just doing something completely wrong here.
    Anyone have any incite?

    gobeav3rs297 wrote:
    Hi,
    I installed phpmyadmin through pacman from community and now i'm having trouble setting it up with lighttpd.  I can't seem to locate config.inc.php or even phpmyadmin anywhere within any folders on my system.  Did a slocate and it returned nothing.  Is there an archwiki for setting up phpmyadmin?
    Vincent
    @Vincent you will find phpMyAdmin under /srv/www you can mv  it from there to /home/httpd/html.

  • (SOLVED) problem with dbus and pacman

    For whatever silly reason, I did a 'pacman -S dbus' to make sure I had it installed and the result has really screwed up dbus. Although pacman reads it as installed, other programs don't and I can't start anything that relies on dbus (like thunar for one). Trying to start thunar for example:
    thunar: error while loading shared libraries: libdbus-1.so.3: cannot open shared object file: no such file or directory
    Also, everytime I try to install anything I got the following error message from pacman a dozen times or so before it proceeds:
    error: could not open file /var/lib/pacman/local//dbus/1.0.2-4/depends: no such file or directory
    what happened. How do I get dbus back and working?
    Last edited by b9anders (2008-01-14 10:51:40)

    I might not know what happened, but maybe u can re-install base group packages from the CD and then boot back into arch linux and update from there?
    I have also setup a install from within another linux OS, follow the wiki. It uses a pacman.static that is self reliant upon itself. U should not need any dependencies like dbus for that to work. Maybe u can use pacman.static to fix your problem.
    Just a few ideas for you to ponder on.

Maybe you are looking for

  • 15" Apple Studio Display Shutting Off

    My Apple Studio Display (LCD 15", purchased 2000) visual display is intermittently shutting off. Audio remains functional, and I can still type while the display is absent and when it comes back what I typed (ie, on a word doc) is there. The screen s

  • How to transfer in app purchases from iphone to ipad

    I am trying to buy an in-app purchase on my ipad, I had already bought the in-app purchase on my iphone.  I am wondering how to transfer the purchases.

  • Classes in custom infotype

    Hi friends.   While creating an custom infotype system automatically generates a class with naming convention. Suppose i am creating infotype with number 9008 then sysytem will genarate a classs   ZCL_HRPA_INFOTYPE_9008. Can please any one tell in wh

  • IPhone 3G S - mistake- downloaded all my outlook contacts

    I made the mistake of uploading all my Outlook contacts from my PC to the iPhone.  Now I have over 100 contacts in my iPhone contact list where I only had 10 before.  How can I delete them?  Do I have to delete them individually?  Is there is way to

  • Updates Function not working

    I have CS6 on my desktop and my laptop. The updates function on my laptop has not been working for some time. It gives me a message "The update server is not responding. The server may be offline temporarily, or the internet or firewall settings may