rewriterule problems on Sun Cobalt RaQ 550

rewriterule problems on Sun Cobalt RaQ 550

Wednesday 14 May 2003 12:58:33 pm - 7 replies

Author Message

Paul Borgermans

Wednesday 14 May 2003 1:51:51 pm

Your rewite rule seems OK, the second virtual host will take precedence over the first one as it has the same IP address.

The rest is template editing:

http://ez.no/developer/ez_publish_3/documentation/ez_publish_3/howtos/how_do_i_generate_nice_urls

Your site does work with the index.php in the URL?

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Marco Zinn

Thursday 15 May 2003 11:17:49 am

How do you want to access your ez Site?
by the IP adress (123.123.123.123 in your example) or by a (sub-)domain?

_I_ think, that identically virtual hosts definitions will only evaluate the first block (first block has highest priority), but you can look that up in the apache docu.

If you can, I suggest to give your virtual host a name and replace the line
ServerName 123.123.123.123
with
ServerName ez.yourdomain.com

But you will have to redirect ez.yourdomain.com to the server's IP 123.123.123.124 via DNS (or hosts, for testing).

Marco
http://www.hyperroad-design.com

Paul Borgermans

Friday 16 May 2003 8:34:24 am

Sorry

Indeed the first block has precedence

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

James Ward

Tuesday 20 May 2003 7:37:33 pm

I was able to get it working by adding the line:
RewriteRule !\.(gif|css|jpg|png|js)$ /home/.sites/143/site1/web/index.php

Immediatly after "RewriteEngine on" in the default virtual host config file the server automagically created. My concern now is that I did not include:

<Directory <httproot>/ezpublish-xxx/>
Options FollowSymLinks Indexes ExecCGI
AllowOverride None
</Directory>

As described in the manual. Everything appears to be workin fine and I don't want to make any more changes until I am sure this section is necessary. If anyone could help me understand what this section does for ezpublish it would help me a lot.

Thanks.

working at www.wardnet.com
blogging at www.jamesward.ca

Jevon MacDonald

Tuesday 27 May 2003 11:04:29 am

Can I ask: How did you get the right version of PHP installed with all of the right build options?

- Jevon

James Ward

Tuesday 27 May 2003 11:10:40 am

Jevon,
I used http://www.solarspeed.net at a cost of $59.33 US.

Best 60 bucks I've ever spent. They log into your server and set it up for you. The only downside I'm aware of is that your command line php version is not updated. This is necessary to keep the RaQ admin interface functioning properly.

This could cause problems with eZ's cronjobs but I haven't experienced any problems yet. Check the RaQ forums for more details on the Solarspeed install.

working at www.wardnet.com
blogging at www.jamesward.ca

Jevon MacDonald

Tuesday 27 May 2003 11:21:53 am

Thanks, I have been using the PHP package at http://www.edison.ca/cobalt/ but they have limited build options (it is free afterall!) but charge a little much to do custom build options.

I will check out SolarSpeed, as soon as their site starts responding for me.

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.