?
Solved

How to find drupal installation path and administrator interface?

Posted on 2015-02-09
7
Medium Priority
?
94 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:
Aaron Feledy earned 2000 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
[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

 
LVL 13

Expert Comment

by:Aaron Feledy
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:Aaron Feledy
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

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

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

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 …
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month15 days, 18 hours left to enroll

850 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