Solved

How to find drupal installation path and administrator interface?

Posted on 2015-02-09
7
84 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

 
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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JSON Encoding problem breaks calendar 13 550
Disable Modal Window After Initial Page Load ? 8 230
Drupal as a document managemet system? 3 177
Display submission history of a node? 2 101
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 …

734 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