Solved

How to find drupal installation path and administrator interface?

Posted on 2015-02-09
7
73 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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 …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now