Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By hakan-1 on
1- I have drupal on my localhost. in url i type http://localhost/drupal and it wont open the index.php itself (i am not authorized to view this page ) instead i have to type http://localhost/drupal/index.php
Is that how its supposed to be?
2-When i log out from an account i go to http://localhost/drupal/index.php?q=logout
But it says i am not authorized to view this page either.
I think both problems are related. Any input?
Comments
The first issue might be an A
The first issue might be an Apache/webserver problem not related to Drupal. Does your httpd.conf have index.php listed in the DirectoryIndex line? Are the Drupal PHP files readable by your webserver?
Also, does the variable $base_url in drupal/include/conf.php read "http://localhost/drupal" (not "http://localhost")?
Uwe.
--
My Drupal site: http://www.crazy-hacks.org
Soon to be drupalized: http://www.unmaintained-free-software.org
umm i forgot to say i use iis
umm i forgot to say i use iis not apache.
and yes base url points to /drupal
still
still, no matter what server you are running, if /index.php is working and / not, it is related to the config of the webserver.
look for some option to push index.php as the default page instead of index.htm
--
groets
bertb
--
groets
bert boerland
I've taken the liberty to giv
I've taken the liberty to give your post a meaningfull title.
--
If you have troubles with a particular contrib project, please consider to file a support request. Thanks.
--
Drupal services
My Drupal services
In the Documents tab of the w
In the Documents tab of the web site, add index.php and bump it up to the top. If you do not need the other document type's then remove them.
-sp
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
thnx a lot. it works now
thnx a lot. it works now