LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-02-2007, 12:11 PM   #1
vonedaddy
Member
 
Registered: Aug 2004
Location: Philadelphia,PA
Posts: 185

Rep: Reputation: 17
phpMyAdmin and httpd.conf


I am getting a 403 forbidden error when trying to open phpMyAdmin across my intranet.

Forbidden

You don't have permission to access /phpMyAdmin on this server.


I added the following line to the httpd.conf file.

Code:
Alias /phpMyAdmin "/usr/share/phpMyAdmin/"
<Directory "/usr/share/phpMyAdmin/">
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 172.24
</Directory>
All the PC's on my LAN are 172.24.x.x



what am I missing here??
 
Old 12-03-2007, 05:09 AM   #2
immortaltechnique
Member
 
Registered: Oct 2006
Location: Kenya
Distribution: Ubuntu, RHEL, OpenBSD
Posts: 287

Rep: Reputation: 32
check the permissions on you r phpmyAdmin folder....


Again check what the error logs say then post the output
 
Old 12-03-2007, 07:18 AM   #3
vonedaddy
Member
 
Registered: Aug 2004
Location: Philadelphia,PA
Posts: 185

Original Poster
Rep: Reputation: 17
drwxr-xr-x 10 root root 4096 2007-12-02 12:42 phpMyAdmin

That is how the permissions are set.

here are the entries in my httpd error_logs:

[Mon Dec 03 08:01:00 2007] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 03 08:01:00 2007] [notice] Digest: done
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/dbase.so' - /etc/php.d/dbase.so: failed to map segment from shared object: Permission denied in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/json.so' - /etc/php.d/json.so: failed to map segment from shared object: Permission denied in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/mbstring.so' - /etc/php.d/mbstring.so: failed to map segment from shared object: Permission denied in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/mysql.so' - /etc/php.d/mysql.so: failed to map segment from shared object: Permission denied in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/mysqli.so' - /etc/php.d/mysqli.so: failed to map segment from shared object: Permission denied in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/pdo.so' - /etc/php.d/pdo.so: failed to map segment from shared object: Permission denied in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/pdo_mysql.so' - /etc/php.d/pdo_mysql.so: failed to map segment from shared object: Permission denied in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/pdo_sqlite.so' - /etc/php.d/pdo_sqlite.so: failed to map segment from shared object: Permission denied in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/snmp.so' - /etc/php.d/snmp.so: failed to map segment from shared object: Permission denied in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/zip.so' - /etc/php.d/zip.so: failed to map segment from shared object: Permission denied in Unknown on line 0
[Mon Dec 03 08:01:00 2007] [notice] Apache/2.2.6 (Unix) DAV/2 PHP/5.2.4 configured -- resuming normal operations
[Mon Dec 03 08:06:58 2007] [notice] caught SIGTERM, shutting down
[Mon Dec 03 08:07:08 2007] [notice] SELinux policy enabled; httpd running as context user_u:system_r:httpd_t:s0
[Mon Dec 03 08:07:08 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Dec 03 08:07:08 2007] [warn] module php5_module is already loaded, skipping
[Mon Dec 03 08:07:08 2007] [warn] module php5_module is already loaded, skipping
[Mon Dec 03 08:07:08 2007] [warn] module php5_module is already loaded, skipping
[Mon Dec 03 08:07:08 2007] [warn] module proxy_ajp_module is already loaded, skipping
[Mon Dec 03 08:07:08 2007] [notice] Digest: generating secret for digest authentication ...
[Mon Dec 03 08:07:08 2007] [notice] Digest: done
[Mon Dec 03 08:07:08 2007] [notice] Apache/2.2.6 (Unix) DAV/2 PHP/5.2.4 configured -- resuming normal operations
[root@cacturious logs]#
 
Old 12-03-2007, 07:30 AM   #4
immortaltechnique
Member
 
Registered: Oct 2006
Location: Kenya
Distribution: Ubuntu, RHEL, OpenBSD
Posts: 287

Rep: Reputation: 32
seems your SE policies are blocking your requests...

Try and check whether your linux firewall is passive or enabled.

Or try checking your firewall policies..

system-config-security
 
  


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
Please amend apache conf/httpd.conf file please payjoe Linux - Newbie 7 09-21-2007 05:12 PM
Failed to start apache :Starting httpd: Syntax error on line 1027 of /etc/httpd/conf/ payjoe Linux - Newbie 3 09-21-2007 07:24 AM
Should I include srm.conf in httpd.conf in apache2? xpucto Linux - Software 3 02-16-2006 08:16 AM
saving changes to apache2/conf/httpd.conf file Zaius Linux - Newbie 6 01-09-2004 11:45 PM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 10:32 PM

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

All times are GMT -5. The time now is 08:14 PM.

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