For example:
http://domain.com => http://domain.com/index.html
I have found many examples of forcing www subdomain or the reverse, but cannot find anything for the problem I describe above.
Cheers,
Alex
Moderator: General Moderators
Code: Select all
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]not sure if this is valid solution... but maybe worth to look at itPCSpectra wrote:... The best way to solve it would be to indicate to Drupal that the homepage should be a node I have created but I cannot for find this for the life of me, so as a short term "hack" I was going to just force a visitor to index.html which is the node I want shown as the front page.
PCSpectra wrote:...looking for a quasi index.html not physically present only in the eyes of drupal.
Code: Select all
includes/
misc/
modules/
profiles/
scripts/
sites/
themes/
.htaccess
cron.php
index.php
install.php
robots.txt
update.php
xmlrpc.phpCode: Select all
# Set the default handler.
DirectoryIndex index.php
# Various rewrite rules.
<IfModule mod_rewrite.c>
RewriteEngine on
# Rewrite URLs of the form 'x' to the form 'index.php?q=x'.
#RewriteRule !(index\.htm) index.htm [R]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>