LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-07-2004, 10:55 AM   #1
surban99
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian & Suse
Posts: 81

Rep: Reputation: 15
Problems with apache (still unresolved)


i installed apache 1.(whatever it is now) and phpmyadmin. i moved all the php files to a subdirectory under www (eg. www/phpmyadmin/<i>files</i>.php), that didnt work. so i moved them to the www directory, that works. im assuming that theres some kind of setting in the httpd.conf that i don't understand that's keeping me from viewing subdirectories of the root. via a browser

Last edited by surban99; 04-07-2004 at 05:19 PM.
 
Old 04-07-2004, 12:47 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Perhaps you could enlighten us with the error you get?

Can you access any other files in sub direcories?
 
Old 04-07-2004, 12:53 PM   #3
msound
Member
 
Registered: Jun 2003
Location: SoCal
Distribution: CentOS
Posts: 465

Rep: Reputation: 30
when i run into problems like that sometimes its just the server being picky with the permissions. Whenever I have a directory in my document root i make sure that apache has permission to use it. Otherwise I'll get a stupid error. Maybe you should just check that the phpmyadmin folder isnt only set to give r/w access to root or your specific username.

edit: I just installed the phpMyadmin rpm myself and I think I see the problem youre running into. in the conf file it says it needs to be accessed with https on port 443. Right now I dont have port forwarding setup for port 443 so i cant get it to work. I don't know what your security configuration is like but this might be the cuase of your problems.

Last edited by msound; 04-07-2004 at 01:11 PM.
 
Old 04-07-2004, 01:22 PM   #4
surban99
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian & Suse
Posts: 81

Original Poster
Rep: Reputation: 15
i only had one folder in www and that was /phpmyadmin it didnt work there. I get a 404 error
 
Old 04-07-2004, 01:28 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try adding a / to the end:
http://yourdomain.com/phpMyAdmin/
 
Old 04-07-2004, 02:48 PM   #6
surban99
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian & Suse
Posts: 81

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by david_ross
Try adding a / to the end:
http://yourdomain.com/phpMyAdmin/
tried, nope.

im 90% sure it is a permissions setting in the conf file, but i dont know how to change permissions or add a permission. as far as it being a port problem, i doubt it because both computers(server, client) are inside a firewall and like i said i can access the files from the www root but if i move all the files to a subdirectory, nothing.

Last edited by surban99; 04-07-2004 at 02:58 PM.
 
Old 04-07-2004, 03:58 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Is it a symlink? Can you post the output of:
ls -la /path/to/www
 
Old 04-07-2004, 04:02 PM   #8
surban99
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian & Suse
Posts: 81

Original Poster
Rep: Reputation: 15
i dont know what a symlink is. do you mean symbolic link? like a shortcut in windows? no all the files actually in /var/www/phpmyadmin.

Last edited by surban99; 04-07-2004 at 04:05 PM.
 
Old 04-07-2004, 04:13 PM   #9
surban99
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian & Suse
Posts: 81

Original Poster
Rep: Reputation: 15
fuct:/var/www# ls -la
total 672
drwxr-xr-x 6 root root 4096 Apr 6 02:36 .
drwxr-xr-x 15 root root 4096 Apr 5 20:41 ..
-rw-r--r-- 1 root root 133979 Jan 6 2002 ChangeLog
-rw-r--r-- 1 root root 58936 Jan 6 2002 Documentation.html
-rw-r--r-- 1 root root 182 Aug 3 2001 INSTALL
-rw-r--r-- 1 root root 2818 Aug 3 2001 README
-rw-r--r-- 1 root root 1775 Aug 31 2001 badwords.txt
lrwxrwxrwx 1 root root 30 Apr 6 02:14 config.inc.php -> /etc/p
hpmyadmin/config.inc.php
-rw-r--r-- 1 root root 973 Jan 6 2002 db_create.php
-rw-r--r-- 1 root root 28569 Jan 6 2002 db_details.php
-rw-r--r-- 1 root root 8665 Jan 6 2002 db_printview.php
-rw-r--r-- 1 root root 12096 Jan 6 2002 db_stats.php
lrwxrwxrwx 1 root root 30 Apr 6 02:14 footer.inc.php -> /etc/p
hpmyadmin/footer.inc.php
lrwxrwxrwx 1 root root 30 Apr 6 02:14 header.inc.php -> /etc/p
hpmyadmin/header.inc.php
drwxr-xr-x 2 root root 4096 Apr 6 02:14 images
-rw-r--r-- 1 root root 1862 Jan 6 2002 index.php
drwxr-xr-x 2 root root 4096 Apr 6 02:14 lang
-rw-r--r-- 1 root root 2979 Jan 6 2002 ldi_check.php
-rw-r--r-- 1 root root 3025 Jan 6 2002 ldi_table.php
-rw-r--r-- 1 root root 13962 Jan 6 2002 left.php
drwxr-xr-x 3 root root 4096 Apr 6 02:14 libraries
-rw-r--r-- 1 root root 16888 Jan 6 2002 main.php
-rw-r--r-- 1 root root 5803 Jan 6 2002 mult_submits.inc.php
-rw-r--r-- 1 root root 363 Jan 6 2002 phpinfo.php
drwxr-xr-x 5 root root 4096 Apr 7 13:33 phpmyadmin
-rw-r--r-- 1 root root 12225 Jan 6 2002 read_dump.php
-rw-r--r-- 1 root root 16076 Jan 6 2002 sql.php
-rw-r--r-- 1 root root 7338 Jan 6 2002 tbl_addfield.php
-rw-r--r-- 1 root root 4372 Jan 6 2002 tbl_alter.php
-rw-r--r-- 1 root root 20805 Jan 6 2002 tbl_change.php
-rw-r--r-- 1 root root 7855 Jan 6 2002 tbl_create.php
-rw-r--r-- 1 root root 11013 Jan 6 2002 tbl_dump.php
-rw-r--r-- 1 root root 20176 Jan 6 2002 tbl_indexes.php
-rw-r--r-- 1 root root 4350 Jan 6 2002 tbl_move_copy.php
-rw-r--r-- 1 root root 19291 Jan 6 2002 tbl_printview.php
-rw-r--r-- 1 root root 12322 Jan 6 2002 tbl_properties.inc.php
-rw-r--r-- 1 root root 52013 Jan 6 2002 tbl_properties.php
-rw-r--r-- 1 root root 25100 Jan 6 2002 tbl_qbe.php
-rw-r--r-- 1 root root 1494 Jan 6 2002 tbl_rename.php
-rw-r--r-- 1 root root 8716 Jan 6 2002 tbl_replace.php
-rw-r--r-- 1 root root 7719 Jan 6 2002 tbl_select.php
-rw-r--r-- 1 root root 53738 Jan 6 2002 user_details.php

and the files are duplicated in the phpmyadmin subdir
 
Old 04-07-2004, 04:35 PM   #10
Iridesce
Member
 
Registered: Jun 2003
Location: Olympia, WA
Distribution: Mepis 3.3 Rocks / Mandrake 10.0 Official / Windows 98SE / Windows XP
Posts: 48

Rep: Reputation: 15
Greetings,

Just got done doing LAMP installations on three computers and have been able to us it. I admit my newbieness and once I got out of my own way it went well.

I am using Mandrake so tweak my procedure to fit you.

In Software install - input mysql in the search window then click search

Select all the packages and install them.

Repeat for apache2 and then for php

Repeat for webmin ( this is the best hidden and most effective program I have dealt with )

Even without webmin ( where you can check to see if your servers are working ), you should be able to type localhost in any browser and get the default Apache page.

Then download phpmyadmin and unzip it - as you did, move the folder to /var/www/html

Using packages is a weenie way, I know - and for those not yet coding, worked well enough for me

Good luck - if I can do this, you can too

It seems a million miles away ..... and it gets a little closer everyday


Last edited by Iridesce; 04-07-2004 at 04:40 PM.
 
Old 04-07-2004, 04:39 PM   #11
surban99
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian & Suse
Posts: 81

Original Poster
Rep: Reputation: 15
Gee, uh thanks for the completely unrelated post. I''' keep that in mind when i uninstall everything

Last edited by surban99; 04-07-2004 at 04:40 PM.
 
Old 04-07-2004, 04:42 PM   #12
Iridesce
Member
 
Registered: Jun 2003
Location: Olympia, WA
Distribution: Mepis 3.3 Rocks / Mandrake 10.0 Official / Windows 98SE / Windows XP
Posts: 48

Rep: Reputation: 15
Not unrelated

LAMP is Linux, Apache, Mysql, php (or perl)

To get to where you want to be, follow the procedure and you will be able to open your webserver


Either way, do use webmin for properties and permissions

Last edited by Iridesce; 04-07-2004 at 04:43 PM.
 
Old 04-07-2004, 04:51 PM   #13
surban99
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian & Suse
Posts: 81

Original Poster
Rep: Reputation: 15
with all due respect, id like to learn how to configure this without installing a package
 
Old 04-07-2004, 05:17 PM   #14
surban99
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian & Suse
Posts: 81

Original Poster
Rep: Reputation: 15
Awww Man!!! i feel all stupid now!!! after doing a google search for LAMP, i now knnow what you mean. you have my sincerest apologies!! I have all the packages installed i think its an access issue with apache though
 
Old 04-07-2004, 05:19 PM   #15
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
surban99, filenames are case sensitive in linux "phpmyadmin" is not the same as "phpMyAdmin" - try:
http://yourhost.com/phpmyadmin/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache problems root3d Linux - Software 5 03-08-2004 04:26 PM
Apache problems BrettPower Linux - Networking 3 03-06-2004 10:52 PM
Apache problems rooster13 Linux - Networking 6 07-16-2003 11:41 PM
Apache virtualhost problems, apache install problems nyroc Linux - Software 2 06-09-2003 11:16 PM
Apache problems RecoilUK Linux - Networking 6 07-13-2001 06:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration