Forums / Setup & design / Pure static HTML frontpage using Rewriterules?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Pure static HTML frontpage using Rewriterules?

Author Message

Marco Zinn

Tuesday 16 August 2005 1:51:50 pm

Hi,
sometimes, i'd like to have a pure HTML frontpage (intro/splashscreen), when a user opens the URL http://www.blabla.com ... On this page, there would be a link/redirect to the "Home"page of Exponential (Root node).
As Exponential uses a default siteaccess, http://www.blabla.com current is the same as http://www.blabla.com/defsiteaccesname . Thus, i was thinking to tell the webserver:
"If someone requests / from this virtual host, server the static page. If not, process with the rewrite rule, which will redirect almost anything to index.php".
But i couldn't figure out, which rules would do this.
A second idea was to use the Directoryindex directory to send the browser to the static HTML frontpage (probably index.html), if nothing is specified after the / .
But i think, this also will need some new rewrite rule (part) to allow bypassing the index.php.

So... How do i do this?

Yes, I'm aware, that the issue also applies to any stylesheet or graphics, that this frontpage will use, but i'd store these things in the "allowed" Exponential design directories.

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

Łukasz Serwatka

Wednesday 17 August 2005 12:10:49 am

Hi Marco,

This should help,
http://ez.no/community/forum/setup_design/solved_override_the_pagelayout_only_for_the_home_page

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog