Hi, I was messing around trying to get Wordpress to install on my Ubuntu 8.10 VM and I've hit a problem. For a while I switched my web server root to a folder I created in my Documents folder (by editing the "default" file in /etc/apache2/sites-available . Also, I've added the line "AddType application/x-httpd-php.html" to the verry bottom of the file /etc/apache2/apache2.conf . Now however, when I try to restart apache I get the error:
Syntax error on line 282 of /etc/apache2/apache2.conf:
AddType requires at least two arguments, a mime type followed by one or more file extensions
Could anyone help with this? When I try to test wordpress by going to localhost/127.0.0.1/wordpress (is this right?) Firefox says it can't connect to the server at localhost. I'm guessing this is because I've changed around the web server root and haven't restarted apache due to the error noted above, but I don't know how to fix this...
NB: I changed my web server root back to /var/www half way through setting up wordpress and so used cp -r to move all the files in the wordpress directory fromt he web server root I created in Documents into /var/www, would this have caused any errors?
Thanks, -ZipOn
have you edit apache ?
Well,
1. download wordpress from official web site
2. untar the file in some dir
3. edit apache configuration and ONLY change the document root
4. restart apache
5. chown -R www-data /"wpdir"
6. type in browser your domain and have fun :-)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks