At first installation, mod_rewriting sent everything for a ball of chalk. At the moment it's switched off.
My question is simple. What should I ask my host to change to allow this to work? It's a Linux hosting package BTW.
I had a thought, would it make any diffierence if the serendipity files were in the root of the webspace (or /htdocs/ rather than /htdocs/serendipity/ )?
While I'm on the subject of verbose URLs I was thinking of shifting the installation into the root of the space in order to rid the URLs of the /serendipity/. Am I right in saying all I need to do is change the Full Path, Relative Path and then URL to Blog in Config;Paths. Save the settings then shift the serendipity files en masse up to the root of htdocs?
I'm expecting a few a the plugins to need sorting, but are there any other big things I need to do?
URL Rewriting
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: URL Rewriting
Hi!
Your host must install the Apache module "mod_rewrite" and enable that module for your account. Also he needs to enable that you can specify RewriteRules via your .htaccess (AllowOverride ...)
Also, all permalinks of any plugins (Staticpages, etc.) would need adaption. In most cases the FAQ suggests to do a search+replace on a SQL dump of your database, that you later re-upload with fixed paths.
Regard,s
Garvin
Your host must install the Apache module "mod_rewrite" and enable that module for your account. Also he needs to enable that you can specify RewriteRules via your .htaccess (AllowOverride ...)
Regarding URL rewriting, no. If it doesn't work in a subdirectory, it won't work in the root directory, and vice versa.I had a thought, would it make any diffierence if the serendipity files were in the root of the webspace (or /htdocs/ rather than /htdocs/serendipity/ )?
I would do it the other way round: First move your files en masse, THEN log in and change the paths. Also see the FAQ on www.s9y.org on how to move a full installation, it has some verbose instructions.While I'm on the subject of verbose URLs I was thinking of shifting the installation into the root of the space in order to rid the URLs of the /serendipity/. Am I right in saying all I need to do is change the Full Path, Relative Path and then URL to Blog in Config;Paths. Save the settings then shift the serendipity files en masse up to the root of htdocs?
The biggest issue is that you might need to edit your blog entries to fix up the image paths. If you inserted them, they all have the HTML code for /serendipity/ still in them.I'm expecting a few a the plugins to need sorting, but are there any other big things I need to do?
Also, all permalinks of any plugins (Staticpages, etc.) would need adaption. In most cases the FAQ suggests to do a search+replace on a SQL dump of your database, that you later re-upload with fixed paths.
Regard,s
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Did that (shifted everything in serendipity folder into root of htdocs)- put in the URL (www.artofcomplaint.com) into my browser, and got er... nothing. I've set my htdocs permissions to 777, still nothing
What have I done wrong?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Yes, if you went my route, you would need to first enter the ADMIN suite. After moving, the frontend would not work, but the backend should.
Anyways, it's solved for you, so well done
Regards,
Garvin
Yes, if you went my route, you would need to first enter the ADMIN suite. After moving, the frontend would not work, but the backend should.
Anyways, it's solved for you, so well done
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
I'm very glad to hear that! Hope you'll have fun using Serendipity!
Regards,
Garvin
I'm very glad to hear that! Hope you'll have fun using Serendipity!
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/