Difference between revisions of "Wordpress"

From ArchWiki
Jump to: navigation, search
(FAQ)
Line 1: Line 1:
 
[[Category:Web Server]]
 
[[Category:Web Server]]
 
{{Stub}}
 
{{Stub}}
== FAQ ==
+
== Apache ==
 +
 
 +
Since wordpress installs files in /usr/share/webapps/wordpress you should add a configuration file.
 +
 
 +
A basic example is:
 +
/etc/httpd/conf/extra/httpd-wordpress.conf
 +
 
 +
        Alias /wordpress "/usr/share/webapps/wordpress"
 +
        <Directory "/usr/share/webapps/wordpress">
 +
                AllowOverride All
 +
                Options FollowSymlinks
 +
                Order allow,deny
 +
                Allow from all
 +
                php_admin_value open_basedir "/srv/:/tmp/:/usr/share/webapps/:/etc/webapps:$
 +
        </Directory>
 +
 
 +
Additional configuration may be added to the file.
 +
 
 +
Also you must include such configuration file on /etc/httpd/conf/httpd.conf by adding the line:
 +
 
 +
      Include conf/extra/httpd-wordpress.conf
 +
 
 +
Now restart apache and it should work by addressing your browser to http://localhost/wordpress
 +
 
 +
 
 +
== Cherokee ==
 +
 
 
* Can't install plugins, themes ... (using cherokee web server)
 
* Can't install plugins, themes ... (using cherokee web server)
 
  # cd /srv/http/
 
  # cd /srv/http/
 
  # chown -R http wordpress
 
  # chown -R http wordpress

Revision as of 06:42, 29 June 2012

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Wordpress#)

Apache

Since wordpress installs files in /usr/share/webapps/wordpress you should add a configuration file.

A basic example is:

/etc/httpd/conf/extra/httpd-wordpress.conf
       Alias /wordpress "/usr/share/webapps/wordpress"
       <Directory "/usr/share/webapps/wordpress">
               AllowOverride All
               Options FollowSymlinks
               Order allow,deny
               Allow from all
               php_admin_value open_basedir "/srv/:/tmp/:/usr/share/webapps/:/etc/webapps:$
       </Directory>

Additional configuration may be added to the file.

Also you must include such configuration file on /etc/httpd/conf/httpd.conf by adding the line:

      Include conf/extra/httpd-wordpress.conf

Now restart apache and it should work by addressing your browser to http://localhost/wordpress


Cherokee

  • Can't install plugins, themes ... (using cherokee web server)
# cd /srv/http/
# chown -R http wordpress