Package: wordpress
Version: 3.0.4+dfsg-1
Severity: minor

I tried to setup a blog today, but I have other sites on apache too.

$ sudo bash setup-mysql -n wpress vitalie.webng.md
PING vitalie.webng.md (93.116.x.x) 56(84) bytes of data.
64 bytes from ka5 (93.116.x.x): icmp_req=1 ttl=57 time=2.09 ms

--- vitalie.webng.md ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 2.096/2.096/2.096/0.000 ms
/etc/wordpress/config-vitalie.webng.md.php written
Trying to create upload directory: /srv/www/wp-uploads/vitalie.webng.md
Setting up permissions
Goto http://vitalie.webng.md to setup Wordpress
6:09 lz@iDebian:/usr/share/doc/wordpress/examples


I used custom apache config:

<VirtualHost *:80>
  ServerName vitalie.webng.md
  DocumentRoot /srv/www/vitalie.webng.md
  Options All
  #ServerAdmin o...@org.md
  # Store uploads in /srv/www/wp-uploads/$0
  RewriteEngine On
  RewriteRule ^/wp-uploads/(.*)$ /srv/www/wp-uploads/%{HTTP_HOST}/$1

  <Directory /srv/www/>
    Order deny,allow
    Allow from all
  </Directory>

  LogLevel warn
  ErrorLog /var/log/apache2/wp_error.log
  CustomLog /var/log/apache2/wp_access.log combined
</VirtualHost>


But when I went to wordpress site, apache returned 403, because
it could not access .htaccess in /srv/www/


$ ls -la /srv/
total 3
drwxr-xr-x  3 root root 1024 mar  4 06:09 ./
drwxr-xr-x 22 root root 1024 mar  4 03:52 ../
drwxr-x---  3 root root 1024 mar  4 06:09 www/

Fix is simple with chmod 0755 /srv/www

-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'squeeze-updates'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=ro_RO.UTF-8, LC_CTYPE=ro_RO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wordpress depends on:
ii  apache2-mpm-prefork [htt 2.2.16-6        Apache HTTP Server - traditional n
ii  libapache2-mod-php5      5.3.3-7         server-side, HTML-embedded scripti
ii  libjs-cropper            1.2.1-2         JavaScript image cropper UI
ii  libjs-jquery             1.4.2-2         JavaScript library for dynamic web
ii  libjs-prototype          1.6.1-1         JavaScript Framework for dynamic w
ii  libjs-scriptaculous      1.8.3-1         JavaScript library for dynamic web
ii  libphp-phpmailer         5.1-1           full featured email transfer class
ii  libphp-snoopy            1.2.4-2         Snoopy is a PHP class that simulat
ii  mysql-client-5.1 [mysql- 5.1.49-3        MySQL database client binaries
ii  php-gettext              1.0.10-1        read gettext MO files directly, wi
ii  php5-gd                  5.3.3-7         GD module for php5
ii  php5-mysql               5.3.3-7         MySQL module for php5
ii  tinymce                  3.3.8+dfsg0-0.1 platform independent web based Jav

Versions of packages wordpress recommends:
ii  wordpress-l10n              3.0.4+dfsg-1 weblog manager - language files

Versions of packages wordpress suggests:
ii  mysql-server-5.1 [mysql-serve 5.1.49-3   MySQL database server binaries and

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to