FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
G'day. I upgraded RedHat 9 to Fedora Core 2. When I open Gui httpd to change its configuration, i.e. server name, web folder name & etc... when I click ok, it prompts me to save & I click ok but it doesn't save the changes at all. How can I work around this?
Thank you for your advice in advance.
I didn't mean to have an tone or attitude when posting, reading over my post again looks like I may have portrayed it this way. No offense, my post was not useful at all.
What I meant was, "I know what a GUI is but what's "gui httpd", is this OS specific? Why don't you simply edit the file in vi or emacs?"
In /etc/httpd/conf/, there are 4 files namely httpd.conf, httpd.conf.bak, httpd.conf.newrpm & magic. I edited with vi the configurations in httpd.conf & saved it but the new configurations didn't take effect, now I am not sure which conf file it's reading from!! That's why I ran HTTP in Gui to check the configurations & when I found they were all defaults, I amended them & tried to save but they were not saved. No error message, no nothing.
It says Syntax OK.
Yes, I did with service httpd restart. Thanks.
I think there was something wrong with my httpd upgrading from RH9 to FC2. Now, even when I try to add or remove extra package in Web Server, it keeps saying php is missing. In fact, I check my packages installed, php-4.3.8-2.1-i386 is there. I thought I might as well uninstall & reinstall Web Server, obviously now I can't do it.
<IfModule mod_userdir.c>
#
# UserDir is disabled by default since it can confirm the presence
# of a username on the system (depending on home directory
# permissions).
#
UserDir "disable"
#
# To enable requests to /~user/ to serve the user's public_html
# directory, use this directive instead of "UserDir disable":
#
#UserDir public_html
</IfModule>
DirectoryIndex
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
Originally posted by simke
[root@smsb7 root]# grep -v ^# /etc/httpd/conf/httpd.conf | grep php
DirectoryIndex index.php index.html index.htm index.shtml
If php is installed apache/httpd is not setup to load the php modules. Try: `php -v` or maybe look in on of those httpd.conf.bak files and see if the php load module is in there and move it to te current httpd.conf if so. Also you should look in "conf.d/*.conf" for more config file as these are included in your configuration.
You should have stuff in there related to PHP like:
There is a file, php.conf in /etc/httpd/conf.d/ & it contains as follow:
#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#
LoadModule php4_module modules/libphp4.so
#
# Cause the PHP interpreter to handle files with a .php extension.
#
AddType application/x-httpd-php .php
#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.php
As for the rest of the .conf files in /etc/httpd folder, none has what you mentioned above.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.