Software :: Allowing Everything On Apache?
Sep 12, 2010
I am trying to get apache:asp to work on on apache2. I have everything installed but any folder I put a asp file in apache locks me out ofere is the error I get.?localhost?refused the connection. Is there a way I can get apache to allow everything? read write browse eveything. Then after I troubleshoot asp and get it working I will start working on security.
View 2 Replies
ADVERTISEMENT
May 13, 2010
I keep my site files in an NTFS partition.When using Ubuntu, Apache gives me a forbidden 403 error when going to http://localhostI had this problem before, and if i remember correctly, to solve it I had to mount the hard drive as root when starting up, so I had this line in fstab:/dev/sda1 /media/Shared ntfs-3g quiet,defaults, locale=en_US.utf8,umask=000.But having that line there now doesn't make it work. It does mount Shared, and as root, but Apache still gives 403.
View 3 Replies
View Related
Jul 29, 2009
I'm a PHP developer and an app I'm working on right now generates files for users to download. The problem I'm seeing is in order to write to a folder I have to chmod it 777, obviously a bad idea.
I'm thinking the best idea is to change the folder user / group to that of apache, however after over an hour of Googleing I can not find out what user / group apache belongs to.
Thoughts? Is this the best way to go or should I do something else?
View 3 Replies
View Related
Dec 15, 2010
I have recently installed a LAMP server on Ubuntu 10.4 nd I would like to have the /var/www folder writeable and accessible by my other computers on the LAN. I know I have to install Samba but how do I configure it so I can map network drives to the WWW folder and allow read and write access?
View 2 Replies
View Related
Jan 12, 2010
I have a machine running Karmic and dovecot/postfix as a mail server.Everything is working fine with the mail system, except one thing. After sitting for a while I am unable to get to the server via telnet/pop3/smtp. Immediately after I ssh into the server to check it, these services start working.
View 9 Replies
View Related
Aug 26, 2010
Do any programs need to be installed that aren't included in the default install of Linux Mint in order for it to allow VNC connections?
View 3 Replies
View Related
Jan 2, 2011
I tried evince, okular and foxit reader for linux and wasn't able to change background and foreground colours with them. I'm able to do this with foxit reader for windows, so unless I find something that runs natively on ubuntu, I'll try running it under wine.
View 1 Replies
View Related
Dec 8, 2009
i've got a few questions about iptables. i know how to set up ip tables to only allow from an ip address or a subnetting ip addresses. question is how do i allow from 2 different networks? would i need to create 2 lines of entry in iptables to the same port? e: allow 10.168.1.1 and 196.168.1.1 on port 22 is there a way to put all that in 1 line or would i need to create to rules for the port? i know i can use the ssh allow or deny but i'd like to stop access even before it gets to the ssh. stop it at the source kinda thing.
View 4 Replies
View Related
May 27, 2010
I'm using the Java Service Wrapper to create a service in Linux. This Java Application has no main GUI, but if certain error message occur then it displays a warning box allowing the user to know. If I log into root and install the application everything works fine. But, if I log into a none root user graphically and then do a su - to get to root the service will not start. This is the command I'm using inside the service (/etc/init.d/rc.d/backup) to start the application
Code:
export DISPLAY=:0.0
/home/pulse/backups/bin/backup start -Djava.awt.headless=true
If I take out the "export DISPLAY=:0.0" the service will start fine, but when an error occurs the warning box doesn't pop up.
View 2 Replies
View Related
Jul 15, 2010
I want to ask about securing the FTP connection... I have one server that Installed with Redhat Linux Fedora 6.
And now, i want to securing the FTP access, so only the selected IP will be allowed to connect. Do anyone know how to do this?
Another thing is, my server using Webmin 1.3 to manage the server and there not installed / not configured yet with Frox FTP, ProFTPD Server, WU-FTP Server... even there is such thing in my Webmin...
Can i make use one of the three FTP i mention above, and if yes, will it be affecting the current FTP access?
View 1 Replies
View Related
Oct 25, 2010
How would like to allow a user to run command such as mount fdisk and lspci which normally you would have to be root to do. How would i go about doing this.
View 4 Replies
View Related
Jan 9, 2010
I want to set up my laptop to allow connections to certain users with passwords from anywhere over the internet via SSH but I'm unsure about how I would go about doing this. I only thought it would be the case of setting up the open-ssh server on the laptop then, using my external IP and PuTTY on another PC outside of the network, connect to the external IP through port 22 so I tried this and wait 3 or 4 minutes or so and it says the connection times out.
I have also configured my router to use port forwarding but this doesn't seem to help much either and I have LAMP setup to allow connections to external IP : 80. The only thing I am able to do is access the laptop through the local network by using its internal IP's like 127.198.0.1:22 or something. I was wondering if anybody knows if and could tell me how I would do this as I really want to be able to access my home computer/laptop from my work sometimes, especially if I have work at home which is not with me at work or something.
I know this is possible but I'm quite new to this type of thing and don't know what is going wrong. Have I missed something or do I need to change any .conf files or anything?
View 4 Replies
View Related
Feb 27, 2010
I never use firefox because I use opera however I am really bored and I want to play around with my firefox however I have already ran into a problem, my problem is that firefox does not let me update to 3.6. I am currently using 3.0. How can I update my firefox? I use ubuntu 9.04.
View 5 Replies
View Related
Aug 11, 2010
our 9.x servers are running perfect. Just setup 5 new webservers, running 10.04LTS. Have SNMPD running, installed and the same config for all the servers I just copied over, by config, I mean one line, that's it. So the servers have the following /etc/snmp/snmpd.conf file rocommunity public
That's it. Now the only difference is looking at the ps on the local box's, a working one shows;
snmp 1096 0.0 0.0 50480 3756 ? S Jul02 9:21 /usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid
where this one shows
snmp 4962 0.3 0.0 48540 5884 ? S 22:26 0:04 /usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1
Notice (I did flag it red) the local 127.0.0.1, but that co-incides with my
[Code]....
It almost seems something firewall is blocking, apparmor is not running, is there something else out of the box 10.04 has that I am just completly brain farting on?
View 1 Replies
View Related
Jul 19, 2011
I'm trying to get VNC working but I'm getting this error message:
Quote:
ssh: connect to host my_ip_address port 22: Connection refused
When typing:
Quote:
ssh -f -L 5900:localhost:5900 user@my_ip_address x11vnc -safer -localhost -nopw -once -display :0 && sleep 5 && vncviewer localhost:0
I'm trying to follow the instructions here: [URL] but I'm struggling with point 2 & 3:
Quote:
2. If you have previously reconfigured the firewall on your PC, make sure the firewall allows incoming connections on port 22 from anywhere, and on port 5900 from localhost (also known as 127.0.0.1)
3. If your PC is behind a home router, or any other device that uses NAT, configure your router to send connection attempts on port 22 (but not port 5900) to your PC
So my questions are:
1. I installed a fresh version of Ubuntu 11.4, should I be concerned about step 2? If so, how can I allow incoming connections on port 22 from anywhere, and on port 5900 from localhost?
2. Regarding step 3, I'm using NETGEAR model DGN1000 router. Is that something that I should do from the router's setting page or it's some commands that I should pass through SSH?
View 1 Replies
View Related
Jan 26, 2011
I'm playing around with some shell scripting and I've got a directory call CS005 and I'm trying to write a script to I can locate to the directory really quick and easy.
export CS005DIR=/home/stud/0/043234/CS005
Now I get this error
CS005DIR=/home/stud/0/043234/CS005 No such file or directory.
This is because I've got numerical values within my variable.
Is there a way to allow numbers for variable names?
View 3 Replies
View Related
Jun 3, 2010
I have Fedora 10 set up as a server. Occasionally it will stop allowing connections, such as ssh, http, and samba. This continues until someone hits a key on the keyboard, and then it seems to come back to life and accept connections. At this point, the date and time will be wrong. Judging from monit messages that inform me when it stops allowing connections, I think the time freezes at whatever time it is when it stops allowing said connections.
Power Management has it set for the computer to never turn off. Sleep mode is also disabled in the BIOS.
I thought it was possibly the CMOS battery, but that has been replaced and the issue persists.
Someone previously thought it might have been Network Manager, but that is disabled due to issues it has with a static IP.
View 11 Replies
View Related
May 14, 2011
I have a drive NTFS formatted drive mounted in Debian and a script set to make directories via a linux script and cron job. This was running flawlessly till recently, when I started getting 'mkdir: cannot create directory 'dirname': Operation not supported'.I have been unable to find any help with this issue online. I assume it is a NTFS mount issue. I know it isn't about file size, as the drive it 1TB.Here is my fstab for reference:Code:/dev/sdb1 /mnt/backupLocation ntfs-3g rw 0 0Do you know what the issue is here? Like I said, up until recently I have been able to create seeming unlimited directories here, but it now stops after about 7 - 10 directories have been created?
View 9 Replies
View Related
Jun 4, 2010
I had configured IPSEC/L2Tp on my Centos 5.4 gateway machine .For testing i had disabled firewall and Ipsec is working fine.I am able to connect from client etc...Now i want to allow Ipsec and l2tp throught Firewall.here is my Current Working Firewall.Only Openvpn is allowed and is Redirected.
eth0=XXXSTATICIPXXX
eth1=192.168.1.81
OpenVpn IP Range = 172.24.0.16/4
Ipsec Ip Range = 192.168.1.0/24
[Code].....
View 2 Replies
View Related
Dec 30, 2010
I have squid running on my home gateway, but when I try to listen to streaming radio, it doesn't work.
Using mplayer with a proxy shows this:
Code:
/home/fukawi2 $ mplayer http://media.on.net/radio/143.m3u
MPlayer SVN-r32492-4.5.1 (C) 2000-2010 MPlayer Team
159 audio & 349 video codecs
mplayer: could not connect to socket
[Code]....
View 5 Replies
View Related
Jul 29, 2010
Samba 3.5 Centos 5.5
I am trying to attempt to set up a samba ldap PDC server.
When I try and connect a computer to the network I get error 'Username could not be found'
I have included smbldap.conf ##smbldap.conf
slapd.conf ##slapd.conf
the smb.conf ##smb.conf
the results of slapcat ##slapcat
the eriror log for log.roor ##log.root
The error I marked as interesting ##interesting , shows that it can't create the user or maybe something else. But up until that time there didn't seem to be a problem.
##smbldap.conf
SID="S-1-5-21-2244683438-1300233924-2635510394"
sambaDomain="internaltest"
slaveLDAP="127.0.0.1"
slavePort="389"
[Code]......
View 2 Replies
View Related
Aug 4, 2010
Is there a trick to allowing a TFTP connection to create a file? I can successfully tftfp (from a cisco router) if I touch the file first, but otherwise, (/tftpboot has been chmoded to 777) I get [TFTP: error code 2 received - 20334]
View 7 Replies
View Related
Jun 7, 2010
I have been using Windows Vista since I bought my laptop. Due to the need to use another operating system, I decided to go for Fedora. I read a some installation guides and was told that dual-booting will allow me use both OS without problems.Last night, I created three partitions on the hard disk, one of them is the primary partition for my Vista OS. Then I went ahead to install Fedora on one of the other partitions. The Fedora worked fine. Subsequently, I wanted to check some stuffs using Vista, but the computer showed my some prompt that said that my BOOTMGR is missing. However, Fedora still boots and works perfectly.Please what should do? I didn't back up my documents before installing the Fedora. How do I go back to Vista without formatting my hard disk.
View 14 Replies
View Related
Oct 26, 2010
I used the rpmfusion nvidia drivers for my Fedora installation up until a day ago when all of sudden my display turned black after an update. Also, I am using a sony laptop with Nvidia GT230M (with proprietary drivers there are some huge problems like not detecting display, i had to use custom edid file to get it working).After fresh install, things just worked and everything is fine. But the only problem is it is not letting me enable Desktop Effects. I am very much used to Scale to switch my windows and I am kinda missing that functionality. This brings to my question, which driver is being used with my installation now?
View 11 Replies
View Related
May 23, 2011
I have recently installed virtual box on fc14 using add /remove software . However so far i have not been able to install any OS on that. I put the OS CD the cdrom and click on start virtual machine..it gives following errors ..
I have followed the instructions given there but all in vain...
Code:
[root@Fedora Raman]# /etc/sysconfig/modules/VirtualBox-OSE.modules
ERROR: modinfo: could not find module vboxdrv
ERROR: modinfo: could not find module vboxnetflt
ERROR: modinfo: could not find module vboxnetadp
View 1 Replies
View Related
Jul 13, 2011
Whether it is vi or gvim, you can view the current non-default settings by writing ":set" and pressing <ENTER>. However, in FC15, vim clears the settings screen really quickly, not allowing me enough time to catch it. Normally it should pause at the settings screen, and clear it only when I press any key. If others see the same problem, I will file a bug.
View 6 Replies
View Related
Jan 15, 2011
I'm running SuSE 11.3 with GNOME. I've just enabled the desktop effects, & then it crashed back to the login screen. Now every time I try to login, the screen goes black & crashes back to the login screen again. I just want to get the desktop effects turned off & switch it back to standard settings...actually this setting is done in root user so i must hv to open it...i tried using FailSafe but after login it doesn't crash back to login screen bt screen also doesn't show anything it stays a WHITE high bright Screen...i just started using linux distributions so please help me by giving solution in detail.runtime level is 5 at login time i also tried it with 3.
View 5 Replies
View Related
Jun 14, 2010
Is it possible to have more than one password simultaneously attached to a login account in Linux?I'd like to be able to add a temporarily-authorized user to an account on my web server, but don't want to have to change the login afterwards.Even cooler would be if this could be done with a timer of some kind so the temporary password would auto-die after, say, 24 hours.
View 1 Replies
View Related
Feb 2, 2010
Hope you can help me out. I'm trying to setup a "drop-box" on ubuntu 9.10 server with vsftpd. I'm able to login and land in the /home/user directory, however I cannot write anything.
View 5 Replies
View Related
Apr 18, 2010
But I fully have my server and everything up, MySQL, PHP5, Apache2, Postfix, Courier, SQMail, can't remember what else atm.
I installed mailx and used the mail command to send an email to my external email address, worked just fine. sent it to another email, worked as well.
But the problem is, I do 'telnet localhost 25' to test it like they say, it connects. I run 'ehlo localhost' Nothing happens.
I've tried setting it up with Thunderbird on my home pc and it connects to the IMAP & POP servers just fine, but it cannot establish a connection with SMTP, I've tried changing the SMTP port to other ones, still no luck.
Oh BTW, I use Ubuntu 8.04 LTS (Hardy Heron)
View 1 Replies
View Related