Fedora Servers :: Add Pages To /var/www/httpd And Permissions Denied
Oct 28, 2009I installed apache and all is well until I had to add pages to /var/www/httpd and permissions are dinied.
View 1 RepliesI installed apache and all is well until I had to add pages to /var/www/httpd and permissions are dinied.
View 1 RepliesJust started using Fedora 10 and having a problem with evolution address book.I have checked the permissions on 'system' but they seem ok - owner was set to rwx, I changed the other permissions just to check but still get the error.Not sure what to check now as it claims its a permission error but the permissions seem ok.
View 9 Replies View RelatedI just converted to Fedora from Ubuntu and I have some questions:
1. How can I install nvidia driver? There is no 'jockey-gtk' in my fedora :3 (video card is nvidia 7200GS)
2. whats the equivalent for 'ubuntu-restricted-extras' in fedora? (ubuntu-restricted-extras is a package for A/V codecs, Java, microsoft fonts and Flash plugin)
3. I just move data from other hard disk to the fedora ones and now all the folders are locked (lock icon).
I try with:
su
chown -R fedora:fedora /home/fedora
but the permissions are denied for gvfs.
I am tyring to setup my webserver on Fedora 10 to do the following.
first, i want to require logins when people access my machine. This i have working through the .htaccess file.
Second, i want directories that do not have an index.html file to be auto indexed. This is where its not working for me. I get a 403.
the only change from the default setting in the httpd.conf file is AllowOverride AuthConfig
it would seem that the default settings for are
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
[Code].....
IF i put an index.html file in sub/ i no longer get a 403, i just get that file.
I have Fedora 12 x86_64 installed in my computer. I have also installed system-config-httpd, but when I go to System --> Administration --> Server Settings --> HTTP, nothing shows up.
View 4 Replies View Relatedhttpd have been install by default and I don't start it as services. I have install apache2 but don't want to start as service, I can't add it into the chkconfig. When I try to remove httpd, fedora also want to remove these software.
gnome-user-share i586 2.26.0-2.fc11 installed 809 k
httpd-manual i586 2.2.11-8 installed 3.5 M
mod_perl i586 2.0.4-8 installed 6.3 M
[code]....
php and webalizer I don't care as I want to install the new version, but is their any problem removing the other one? Also I want to pount the apache2 documentroot to var/www/httpd but when I do this and try to see the website I got a 403 error (not autorize)
I just did a clean install of FC12 x86_64 and want to configure tomcat to run behind apache httpd. What is the easiest way to accomplish this? I'm a newbie at server configuration so detailed instructions would be nice
View 4 Replies View RelatedOn this system httpd does not start on boot. I can manually start it without errors with service httpd start.
Code:
chkconfig --list httpd
httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Where do I look to see why it wont start?
I am administoring a few websites and the latest website to be deployed has a few "unable to check htaccess file, ensure it is readable, referer: " errors in the apache-error log.
That is fine, becuase the directory doesnt contain a .htaccess file.
Is there a setting whereby I can turn off this error ?
I dont want to turn off checking for .htaccess files because some directorys have this file and use it.
I've just setup Fedora 10 x64 on a Supermicro 7045 with dual nic; I setup a web site and ran into a strange problem; I can't see my website from outside my LAN; checking IP on Internet it sees my IP as coming for my dynamic IP (IP of router/switch) and not my static IP.
eth0: Static IP
eth1: Dynamic IP
These are standard Intel 82563EB Dual-Port Gigabit Ethernet Controller.
Is there a way to specify the order in which it sees the nic ports?
I'm wonder if I can mix Static and Dynamic IP's; on the outside they resolve to a static IP; the dynamic one shows up as my router/switch IP; but it allows me to access my DHCP computers; this isn't a web server; but a development machine for writing PHP apps.
Where 123.123.123.3 is my static IP address.
I should mention that nmap -v -p 80 123.123.123.3 shows an open port on 80
My VirtualHost is setup like:
I want to run a web server.
I've done
When i do [url] i get a blank page.
Has anyone noticed that when using NameVirtualHost's in apache that the service httpd restart command is broken?Also it seems system-config-bind has glitches too.
View 10 Replies View RelatedI have just installed Fedora 11 on a "fresh machine" and everything works ok, except for Apache httpd
the message seen in the error_log is the following: Name or service not known: mod_unique_id: unable to find IPv4 address of "myserver"
I just installed FC12 x86_64. After a clean install I found that httpd, mysql, svn, svnadmin, etc are already installed. I still need to install and configure tomcat running as a worker behind httpd and configure everything. But my question is about security. What do I need to do to ensure that when I start httpd and mysql that they are secure? Are there default settings that I need to change? Are there security patches I need to apply?
System Config:
Fedora Core 12 x86_64
AMD Athlon II X2 250 3.0 GHz dual core
GIGABYTE GA-MA785GM-US2H
G.SKILL 4GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR2 1066 (PC2 8500) Dual Channel Kit Desktop Memory Model F2-8500CL5D-4GBPK
I have Apache Server working online under Fedora Core 6. But before I installed and configured everything, I've been testing in Fedora 12. The problem surges here, when I start the httpd service, every supuse 404 action on a web browser, takes me to localhost. I mean, if I enter google.com, no error, just goes to localhost, http://asdasd, no error, gives back localhost. I used to ignore the problem 'cause I thought it was a problem on my apache, but when I installed the Server on the Fedora Core 6 machine, I found that I have the same problem there. Of course, it only occurs when I am browsing through the same machine that has httpd started. Does anyone know how to change that??
View 6 Replies View RelatedI'm completely stumped by a problem with httpd in Fedora 13. It fails to start on boot: I can see: Starting htpd: FAILED, in /var/log/boot.log, but I can't find anything else in messages, audit.log or anywhere else that gives me any clue why. The weird thing is that running:
run_init service httpd start
after boot _works_ and the server runs fine, but even when it's running OK,
service httpd status
reports
httpd dead but subsys locked
I'm guessing that the problem somehow relates to selinux, but I can't find anything in the audit logs that gives me a clue. How to turn on more logging so that I can get closer to the problem. I finally discovered the cause. This system was originally configured to use network services directly, without NetworkManager. It had been upgraded a number of times since installation. It seems that over time, if you have turned off NetworkManager, the defaults have changed. Used to be that the network services was 'enabled' by default (hence started at run time). Now, the default is 'disabled'. Httpd couldn't start because there was no network to start on. Enabling network services at boot time fixed this. I guess I should have noticed this. But one might think that httpd failing to start because of the lack of a network might at least give a warning message in the logs about the reason.
Where can I find the httpd.conf files in FC11 ??
View 1 Replies View RelatedAlright, so I upgraded my old fedora 10 server to Fedora 11 with a netinstall CD, but now service httpd restart is broken. I already had to delete the old config file and reinstall apache, but now I can't restart it. I can kill it and then start it manually, but it never stops the running instance and fails to bind the port. I know it's because /var/run/httpd/htpd.pid is in the wrong place, which would be /var/run/httpd.pid, but do I have to make a symlink every time I want to restart it? I edited all the config files to point to the right place, but the system does not honor them. What do I do?
View 3 Replies View RelatedOn F13 i386 inside Virtualbox. Host is a Win7 x64 box.
This may just be more idle curiosity than anything else since the server still works. . . but it's really bothering me because I can't explain it.
My (limited) understanding is that the devel files are just the source files and shouldn't actually affect peformance.
Yet, prior to installing httpd-devel (and its dependencies), /etc/init.d/httpd restart takes about 2 seconds total. After installing httpd-devel, the "stopping" phase of the httpd restart take 5-7 seconds (which seems really long when you're just sitting there waiting on it.
yum install httpd-devel also installs the following for dependencies:
db4-cxx
db4-devel
cyrus-sasl-devel
apr-devel
apr-util-devel
openldap-devel
expat-devel
All but one of those are devel files as well. And here's the real kicker: Uninstalling them through YUM doesn't put things back to normal (even after reboot).
I'm no linux expert. But I wouldn't think installing devel files would have this effect or any effect like this since they're just source code files (?). Can anyone explain what's happening or give me tips on how I can watch the apache process stop and see what's hanging it up?
I have one problem regarding my web server. When I am try to restart my httpd service it shows...
[root@localhost ~]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs [FAILED]
[root@localhost ~]#
Am I right in thinking that the system-config-httpd tool doesn't work in Fedora 13?
View 1 Replies View RelatedI'm having a problem with mod_suexec in Fedora 15.I have suexec set up in Apache, snippits from httpd.conf:
Code:
LoadModule suexec_module modules/mod_suexec.so
...
[code]....
Configure the HTTP server via system-config-httpd brings up some nice gui.I start a console, login to root and start it with: system-config-httpdGoto tab Virtual Hosts, then addI name my Virtual Hosts "sea", set its document root to: /home/sea/webs/sea.hs/www
where index.php is located for that 'local test server'.Host information is on Name based Virtual Host.But what do i have to enter for IP Adress and Host Name? Neither of these accept 127.0.0.1 nor localhost Further, when i try to exit, it wont let me close the app.Its not saved, hence i can even delete the default virtual hosts and its there again after restarting the app Even with adding sea /home/sea/webs/sea.hs/www or sea localhost.localdomain localhost to /etc/hosts doesnt change anything
I have installed fedora 13 in my system. httpd server is also installed. when I tried to start the service of httpd, following error message displayed: Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
View 1 Replies View Relatedi have installed apache and php in my fedora 11 system and httpd works fine except that it doesnt have internet connection for example rapileech doesnt work it says "cannot connect via port 80" and if i put an rss feed collector in a website it doesnt work but everything else works fine , also when i put the same file in a shared web host it works fine
View 3 Replies View RelatedI've just upgraded my serv from fedora8 to fedora12 and got a problem. The httpd and vsftpd add a junk in the beginning of html files. Png, tar and other files are ok. When I make a request to localhost everything is ok.
Code:
#telnet localhost 80
GET /1.html
<html>
</html>
but from any other computer.
Code: .....
But this is not an apache problem. When I dl html files from ftp I got the same problem. Iptables is swithed off.
I successfully installed cups on my fedorabox, I can manage it through the web interface on port 631. I added the hplip and installed a HP Deskjet printer. However, when I want to print a test page I get the following error: "no pages found". The print job is in a stopped state...
View 2 Replies View RelatedI have a Cent OS 5.4 32 bit final installed in my dedicated server.
I used to run lighttpd with php in my server until now and all was fine.But yesterday I changed my website which needs apache to run. So installed apache using yum install httpd command.
Then I added the virtual host name of my domain in webmin panel but when i try to run my php script in browser then its not opening php pages.
Instead it downloads php files like index.php when i open in browser.So I guess apache is not able to compile and run php pages. Only html pages are opening right now..
I was setting up a Postfix email server, and I was following a basic tutorial here. I successfully installed all the required packaged, and then set up a Virtual user for the mailbox, and Set up a new user with this.
Code:
groupadd -g 5000 vmail
useradd -g vmail -u 5000 vmail -d /home/vmail -m
[code]....
I have three partitions. One for each: Windows, Debian and my files. I wanted a partition available in all systems, so I created FAT32 and mounted it as /data and drive D. In linux I created symlinks in my /home folder to /data/documents/xxx/xxx. I wanted to save my projects on that partition, but in every IDE I tried I get the permission denied error.
Screenshot
What should I do to make /data writable for IDEs? As normal user I have full access to it.