Solved

How to find drupal installation path and administrator interface?

Posted on 2015-02-09
7
80 Views
Last Modified: 2015-03-20
I am helping my developer for some virtual hosts issue. I don't know where I can find the installation folder for drupal. Also, when I tried to open the administrator's webpage, it gave me access denied error.

Please help.

here i am attaching the httpd.conf file.
httpd.conf.txt
default.settings.php
0
Comment
Question by:Jason Yu
  • 4
  • 3
7 Comments
 
LVL 13

Accepted Solution

by:
Arrow_1 earned 500 total points
ID: 40600612
Drupal is usually installed in the web root for the domain. It will contain index.php, cron.php, install.php, and several other files and directories.

To access the admin area, visit example.com/user to log in with your administrator credentials. Once logged in you will be able to access example.com/admin
0
 

Author Comment

by:Jason Yu
ID: 40606961
I have four sites configured one this server. the apache configuration file is at /etc/httpd/conf/httpd.conf.

The content in this file is as below:

<VirtualHost *:80>
    ServerAdmin ktan@lacare.org,bhoang@lacare.org
    DocumentRoot /var/www/lac2014/html
    ServerName devw.lacare.org
    ServerAlias devw dorrington.lacare.org dorrington
    <Directory "/var/www/lac2014/html">
      AllowOverride All
    </Directory>
    ErrorLog /var/www/lac2014/logs/error.log
    #`CustomLog /var/log/httpd/access.log
</VirtualHost>

<VirtualHost *:80>
   ServerAdmin ktan@lacare.org,bhoang@lacare.org
   DocumentRoot /var/www/duals/html
   ServerName devcal.lacare.org
   ServerAlias  devcal
   ErrorLog /var/log/httpd/error.log
   <Directory "/var/www/duals/html">
     AllowOverride All
   </Directory>
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot /var/www/devcov/html
    ServerName devcov.lacare.org
    ServerAlias devcov
    <Directory "/var/www/devcov/html">
      AllowOverride All
    </Directory>
   ErrorLog /var/www/logs/devcov_error.log
</VirtualHost>
<VirtualHost *:80>
 DocumentRoot /var/www/html
  ServerName devleg.lacare.org
  ServerAlias devleg
  ErrorLog /var/www/logs/legacy_error.log
</VirtualHost>

Open in new window


After I set up, I am able to open the first  and the last virtual websites. but the second one and third one don't open. How could I trouble shoot for this?

This webserver is a clone of the production one. Do you think it's a database problem? Can I dump the database for each website to a sql file and import it into the one on the test server.

Thanks.
0
 

Author Comment

by:Jason Yu
ID: 40606986
when I tried to access the install.php script for the site devcov.lacare.org/install.php, it doesn't show anything.
0
Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

 
LVL 13

Expert Comment

by:Arrow_1
ID: 40607065
I think you are asking a different question now... did you find the Drupal installation directory?
0
 

Author Comment

by:Jason Yu
ID: 40608067
yes, it's under /var/www
0
 
LVL 13

Expert Comment

by:Arrow_1
ID: 40608113
That seems wrong. It should be /var/www/devcov/html if devcov.lacare.org is the site you are using.
0
 

Author Comment

by:Jason Yu
ID: 40608333
HI, Arrow, thank you for your help. I got it resolved by removing .htaccess file.

May I ask what this file for? If I want to learn how to configure this file, where can I learn?

thanks.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Dynamic Display Block not showing 4 417
Drupal Image Gallery 2 317
Can Wordpress do these things out of the box? 9 294
Design Plan for Drupal 7 forum with 30,000 active users 7 422
This article is for those that are having major problems with users upload files such as pictures to their profile. The solution is simple and has to do with correcting the directory paths. With some experimenting and testing i got it fixed. Note…
RTL (right to left) web applications aiming for audiences speaking languages like Hebrew or Arabic, are generally more complicated than the same applications aiming for audiences speaking Latin based languages. The main difference lies of course …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question