My Plone default page is not pointing to my domain - plone

I just installed Plone and having trouble understanding how to have my Plone site default to my index page in Ubuntu. I have tried using VMI and virtual_hosting monster but it is confusing.
Can anyone explain the easiest way to do this?

Use the rewriterule witch to generate Apache rewrite rule configuration.
Set up your Apache server to use such a rewrite rule to point to your back-end Plone server.
See the Plone and Zope behind Apache knowledge base article on Plone.org for the nitty-gritty details.

Related

404 not found error on WordPress local host on wpn-xm

I am trying to develop a WordPress site on my local host. i am using wpn-xm as a local server. but after change my permalink from plain to post name, all the pages redirect to 404 error page.
can anyone please tell me, how can i solve this problem?
Thank You
It seems like with WPN-XM, you have to manually add the rewrite rules yourself (since it doesn't have mod_rewrite available). Instructions on this can be found here:
http://nginxlibrary.com/wordpress-permalinks/
You will need to setup Nginx specific rewrite rules, because WordPress cannot do that automatically for you. Instructions you can find on wordpress.org or nginx.com.
The WPN-XM project has a folder with a lot of Nginx configs available, see
https://github.com/WPN-XM/software/tree/master/nginx/config/conf/sites-disabled
You are looking for Wordpress:
https://github.com/WPN-XM/software/blob/master/nginx/config/conf/sites-disabled/wordpress.conf
adjust the wordpress location
Here it's www/wordpress, but yours might be www\my_wordpress-1.2.3 or something else
make sure the file gets included in the nginx.conf

Nginx Rewrite For Magento/Fishpig integration

I have Magento and Wordpress running together via Fishpig integration. Which is fine.
Fishpig requires to use a prefix in your URL to identify it's WP related (e.g. http:/domain.com/blog/your-page-url).
What I need is a Nginx rewrite for URLs which won't have the blog bit.
If I user types
http:/domain.com/your-page-url or
http:/domain.com/another-page-url?somevar=1
I want to keep the URL like that but internally Nginx would deliver
http:/domain.com/blog/your-page-url
http:/domain.com/blog/another-page-url?somevar=1
Any help would be really appreciated.

How to host a wordpress blog from a domain pointed to an app hosted with google app engine?

I have a Python web app hosted with Google App Engine with a .com pointed towards the App Engine app. I would like to start a Wordpress blog at mydomain.com/blog.
Since Wordpress runs on PHP, I reckon it would be easier to host the Wordpress blog on my other web host account with cpanel and change some domain pointer. What is the best way to achieve this?
I suppose setting a DNS A Name record for 'blog' to point to my other web host account will create blog.mydomain.com and solve this. But is there a way to have mydomain.com/blog pointed to the other web hosting account with the Wordpress blog? Thank you.
Another approach similar to renab's: on your Wordpress box you can configure the Apache (or any other sensible http server) to work as a proxy in front of your App Engine application for every URL but the /blog one (which would be served directly).
You could also enable some level of caching on the Apache server and save a little on processing costs.
A simple solution may be to create the A record you mentioned in your question then put an index.html in the blog/ directory on app engine that contains
window.location = "http://blog.mydomain.com"
as the onload function of the body tag.
Another solution is adding a .htaccess file which redirects http://www.mydomain.com/blog to http://blog.mydomain.com.
Edit: As mentioned in the comment below, appengine does not support this method. I am leaving it in for the off chance that it will help someone who has a similar question not related to app engine.
A similar redirect would be needed for the domain without www in front of it.
Edit for better htaccess example:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www\.)?mydomain\.com$
RewriteRule ^blog/(.*) http://blog.mydomain.com/$1 [R=301,L]
You will have to check my htaccess syntax, its been a while since I had to write rewrite rules, and I don't have a webserver handy to test it

Nginx rewrite rule

I need a rewrite rule for an nginx server. I'm using joomla 1.5 with sh404sef component to make clean urls.
Now i have installed gtranslate module to make the website multi language. So after installing the module my url's will change.
for example
My orginal url:
http://mywebsite.com/index.php?page=shop.product_details&flypage=flypage.tpl&product_id=511&option=com_virtuemart
the sh404sef component will change this to
http://mywebsite.com/men-s/coverall-shirt-in-grey.html
But after installing gtraslate the urls changed like this
I want to replace a url to something different. for example:
http://mywebsite.com/index.php?/ja/page=shop.product_details&flypage=flypage.tpl&product_id=511&option=com_virtuemart
here i have enabled japanese language, so there is a additional string /ja/ added in the url.
This is making problems in the website.
I want a rewrite rule for nginx to replace this url to orginal one without ja
Does anyone have an idea.
Please help me..
--
Thanks in Advance
Tibin Mathew
if you rewrite the url in ngingx your joomla will never receive the /ja request, and consequently will never server the translated content.
you'll have to make the sh404sef component work with the gtranslate url's instead
http://gtranslate.net/forum/gtranslate-fully-compatible-with-sh404sef-t2168.html indicates this should be possible, but doesn't say how

How do I map custom domains to my sites on a multisite Wordpress installation?

I just upgraded one of my many blogs to Wordpress 3.0 and I was glad to see that I now should be able to run all my blogs from a central installation.
I have the multisite stuff configured and up and running, and can create new blogs as I wish.
My host is set up to handle wildcard subdomains, but I'd like to map my already existing, proper domains to sites instead. How do I do this?
Redirecting the domains is not an option.
There's a domain mapping plugin:
http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/
If you download the dev version, that will work with 3.0, I'm told:
http://plugins.trac.wordpress.org/browser/wordpress-mu-domain-mapping/trunk/
There should be a download link at the bottom of that page.
Modrewrite is probably the answer, but without knowing more about the server and how wordpress is doing the multiple blog feature (I use it and have upgraded to 3 as well, but i haven't looked at it very closely), it's hard to give a specific answer.

Resources