Click to See Complete Forum and Search --> : Installing Apache 2.0.53
besttb
02-28-2005, 03:25 PM
I have been working on installing apache 2.0.53 and I am running into a problem where not all the 'default' modules are being installed. Is there a configure option I am missing that will install all default modules :confused:
Here is my config:
./configure --prefix=/usr/local/apache2 --enable-so --enable-vhost-alias=shared --enable-ssl=shared --enable-speling=shared
I would like to install mod_alias. Looking at the configure documentation page all defaults should be installed unless explicitly told not to with the --disable-module option. But when I look in y httpd.conf file under the LoadModule directive - only the modules I explicitly enabled are listed. Is this supposed to be or is there a configure directive I am missing?
Thanks for your help!
T
Choozo
02-28-2005, 05:47 PM
To see what is compiled in, run the command: /usr/sbin/httpd2 -l
besttb
02-28-2005, 05:56 PM
It said I have mod_alias.c compiled but its not in the httpd.conf file under the LoadModule directive.
Here is the list it gave me:
core.c
mod_access.c
mod_auth.c
mod_include.c
mod_log_config.c
mod_env.c
mod_setenvif.c
prefork.c
http_core.c
mod_mime.c
mod_status.c
mod_autoindex.c
mod_asis.c
mod_cgi.c
mod_negotiation.c
mod_dir.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_so.c
I am wondering why an alias won't worK
Alias /mysqladmin "/var/www/sharedapps/phpMyAdmin-2.6.1-pl2"
I get a page not found error when I send http://my.domain.com/mysqladmin...
Thanks for your help!
T
bwkaz
02-28-2005, 07:31 PM
Well, do you have a:
/var/www/sharedapps/phpMyAdmin-2.6.1-pl2
directory? Note that it's case sensitive, so you have to make sure your directory's name matches the case of the letters here.
Some of those Apache modules may have been compiled right into the Apache binary -- they may not be separate. If that's happening, then you can't (and don't need to) LoadModule them, because they're always loaded with Apache itself.
To see what's enabled, go to http://whatever/server-info.
besttb
03-01-2005, 01:28 PM
yep, the path is there :
/var/www/sharedapps/phpMyAdmin-2.6.1-pl2
I removed the 2.0.53 version and used yum to install 2.0.52. It looks like mod_alias is working but now i get:
You don't have permission to access /mysqladmin on this server.
When I attempt to access the alias. It says I do not have permission, yet the permissions are set to 755 recursively.
The 'icons' alias has a <Directory> directive set to define the permissions to that directory. Do I need the same for this? I ask because another server I use does not have this defined in its httpd.conf...
T
Choozo
03-01-2005, 04:37 PM
That may very well be a MySQL permission problem, and not a filesystem permission issue.
besttb
03-01-2005, 06:00 PM
This is the error in the error_log file.
[Tue Mar 01 16:49:11 2005] [error] [client xxx.xxx.xxx.xxx] (13)Permission denied: access to /mysqladmin denied
I tested the alias function by placing an alias in httpd.conf to a phpinfo.php file in the /var/www/sharedapps and /var/www/sharedapps/phpMyAdmin-2.6.1-pl2.
It worked in the former and did not in the latter. There is something up with the /var/www/sharedapps/phpMyAdmin-2.6.1-pl2 directory.
DON'T KNOW WHAT BUT I'M GONNA FIND OUT! :o :D
bwkaz
03-01-2005, 09:07 PM
Look for a <Directory> section that applies to that directory (/var/www/whatever) or any of its parents.
In there, there will be Allow and Deny directives. Make sure those allow the machine you're coming from to access the directory.