Server :: Possible To Turn Off Modsec2 In A Particular Folder?
Mar 3, 2010
I have a dedicated server that I manage with WHM/cPanel and I'm having problems with modsec2.The form in question exists in a folder that is protected by http authentication -- one must authenticate via apache before viewing any of the folder's contents (you know, the whole .htaccess thing).I am wondering a few things:
1) Is it potentially unsafe to turn off modsec2 in this particular folder? I'm thinking that the need to auth via apache will keep out any folks who don't know the password, but want to be sure that there isn't some way to circumvent the apache auth.
2) if I want to disable modsec2 for this particular folder, is it sufficient/acceptable/correct/effective to put this code in the .htaccess file.
View 1 Replies
ADVERTISEMENT
May 25, 2011
I've setup a FTP server in OpenSUSE 11.1 with KDE 3.5.x. (Pure-ftpd) But when I connect with an user to the FTP server I can browse to all folders on the OPENSUSE system, how can I setup one folder for all users and restrict the FTP connection to that folder only??
View 1 Replies
View Related
Feb 22, 2009
I'm new to send mail. I have a server with a public address and domain name. But I only want to implement a small sendmail network on our 20-user LAN. Can I turn my public server into a sendmail server? Are there any simple step-by-step instructions for this?
View 1 Replies
View Related
Nov 16, 2010
I'm installing things in a new Red Hat server and saw that the /var folder is full (100%). I need this folder to have more space or another kind of solution because this server is going to be used as a print server.
View 7 Replies
View Related
Jun 27, 2011
i m unable to ssh my one centos 5.6 remote server from my one server
Code:
ssh -v root@sxyz.abc.com
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
[code]...
i even turn off all firewall rules on both server i can able to ssh from my home or any other pc to remote pc so i don't think there is any problem in target pc
View 9 Replies
View Related
Nov 4, 2009
I have Ubuntu 9.04, and a HP laserjet 1018 printer.
I install the printer using:
And when it ask me about plugin I give the path to it. (the 3.9.2 version of the plugin, because Ubuntu 9.04 has the 3.9.2 version of hplip)
well I install the printer, everything works perfectly.....but, when I turn off the PC, and turn it on again, the printer does NOT work!, I send work for being printed but mothing happens , Ubuntu tells me that the job was printed but ... no case, my printer does not print it.
I have to install it again since cero. what can I don to stop install it every time I turn off the computer ?
View 1 Replies
View Related
Jan 20, 2009
This is my humble guide on how to turn Fedora 10 into a PS3 Media Server. I would like to note that this guide is applicable to many different Linux distributions like Debian, Ubuntu, OpenSuse, etc. For now, it's located on my web blog in the link below. The direct content follows immediately.
View 3 Replies
View Related
Jan 18, 2011
How do I turn My 8.04 Ubuntu Hardy Desktop into a Hardy Server when the distro support expires in April 2011?
View 8 Replies
View Related
Feb 7, 2010
I have access to a server via ssh. I'm allowed to install things in my userspace. Furthermore, I'm allowed to use the bandwidth. I paid for access to this server, so they're pretty much ok with me doing things with my space. They told me not to store over 20 GBs of data, and I've kept to that rule.
Basically, I want to be able to turn it into a proxy. So, in a way, I want to redirect all of my traffic to that server. If I have a request, it goes to the server, and any replies come directly to my box.
So, this would be a proxy, right? I only have SSH access, I think. Maybe I have some other forms of access, but I can't remember.
How would I go about doing this?
Here's what I have in mind:
(my box) ----request---> (the server) ---> {internet}
(my box) <----reply/incomingdata---- (the server) <---- {internet}
View 3 Replies
View Related
May 13, 2009
I am new to fedora and linux. I have spent the past three days figuring out how to install nvidia drivers for linux. I figured out how to install the drivers but I can't seem to turn off the x server to install it. Everyone says to go to init 3 or what ever, but when I try doing that I just guess this message saying powernow-k8: Your BIOS does not provide ACPI _PSS objects in a way that Linux understands. Please report this to the Linux ACPI maintainers and complain to your BIOS vendor. powernow-k8: Your BIOS does not provide ACPI _PSS objects in a way that Linux understands. Please report this to the Linux ACPI maintainers and complain to your BIOS vendor. powernow-k8: Your BIOS does not provide ACPI _PSS objects in a way that Linux understands. Please report this to the Linux ACPI maintainers and complain to your BIOS vendor. powernow-k8: Your BIOS does not provide ACPI _PSS objects in a way that Linux understands. Please report this to the Linux ACPI maintainers and complain to your BIOS vendor.
and i also tried sudo /etc/init.d/gdm stop but it just says command not found. my gdm is in the usr/sbin directory idk if that has to be changed or not but i'm really new to this and I am completely lost.
View 4 Replies
View Related
Jan 5, 2010
I have this old PC that I want to turn into a File Server. I want to use my laptop as the MAIN computer that will access the File Server (Old PC).
View 9 Replies
View Related
Jan 25, 2010
I am using ubuntu 9.10 and I want to know if I can power on a remote computer working on windows server 2003.
View 5 Replies
View Related
Feb 13, 2009
I have created a folder including some html link pages in /test/htlink . Now I want to create a soft link of that folder as htlink -> /test/htlink in /var/www/html . Now when I m browsing the folder , its erroring (404 Not Found) folder is not found on the server . I have given 777 permission on every file-folder in /test . No firewall & no SELINUX .
*** I want to browse the folder ***
View 3 Replies
View Related
Mar 21, 2010
For some reasons I need to configure ubuntu in such way that it would turn off the computer if X-server or GDM hasn't started (but user is able to log in). By the way, what are the reasons for such situation besides errors with video drivers?
I was told that I should write a script, but I have no idea how to write scripts and where I should place it (I suppose in init.d with some parameters).
View 2 Replies
View Related
Jul 17, 2010
I have a CentOS server running at [a link which has been moderator deleted] (a text-based game I'm building) which is displaying the default welcome page. I'll quote some of the things that page says:
Quote: "Apache 2 Test Page powered by CentOS This page is used to test the proper operation of the Apache HTTP server after it has been installed. If you can read this page it means that the Apache HTTP server installed at this site is working properly."
"If you are the website administrator: You may now add content to the directory /var/www/html/. Note that until you do so, people visiting your website will see this page and not your content. To prevent this page from ever being used, follow the instructions in the file /etc/httpd/conf.d/welcome.conf. You are free to use the images below on Apache and CentOS Linux powered HTTP servers.
View 2 Replies
View Related
May 25, 2011
How do I turn winbind authentication off or vsftpd. I keep getting these error messages in the /var/log/ secure:vsftpd: pam_winbind(vsftpd:auth): request failed: No such user, PAM error was User not known to the underlying authentication module (10), NT error was NT_STATUS_NO_SUCH_USER.I already tried remarking out different things in the config files. Is it safe to remark out the winbind stuff in /etc/pam.d/system-auth if we are using the smbclient to connect to a Windows share?Why would you want to to use AD to authenticate users for something simple like FTP is beyond me.I merely want it to authenticate against local system users.
View 3 Replies
View Related
Nov 14, 2010
in writing a scriptI've written the following small script to turn on my server which is on my local network:
Code:
#!/bin/bash
# init
[code]....
View 2 Replies
View Related
Jul 29, 2011
This is a silly question maybe, but how can I turn my passport drive off after has being unmounted? I am assuming that's the right order, before removing: umount and then turning off. By the way, I am talking about Ubuntu Server, not regular Ubuntu desktop via GUI.
View 2 Replies
View Related
Feb 14, 2011
turn up the level of logging that my DHCP Server is writing to SYSLOG?I can't seem to find a syslog.conf file to edit.
View 1 Replies
View Related
Jun 23, 2011
just curious, this might not be possible, but is there any way with ajax to open an ftp connection, download a file and then turn around and POST it to a web server? the reason i ask is because i'm writing a script on a shared hosting plan that doesn't give me permission to directly talk outbound on the ftp port but i need to synchronize a file from a csv on an ftp server, this means i have to do the process manually, is there any way i can just click the button and let my browser do the work?
View 4 Replies
View Related
Nov 26, 2010
my postfix to send and recive external emails, but many recive in trash folder.Other programer say me that is need some configurations in postfix with and dovecot to work, but i dont know what!This is my first time configuring a linux server at this week.
my main.conf
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
[code]...
View 3 Replies
View Related
Aug 16, 2010
After installing postfix on my server , all emails sent by a PHP class that i built , are received to spam folder , no matter what i do .am not an expert , except in PHP , the class i built works fine everywhere else except on this server , so i think the problem might be from the server it self ?some told me wrong configuration/software on my server , others told me wrong DNS stuff . actually i don't understand the DNS stuff , and am not an expert in linux softwares and services but i cann install/configure them , so could anyone please check the DNS for problems ?
View 3 Replies
View Related
Jul 18, 2010
i am using windows xp and i virtualy running centos 4 by using microsoft virtual server 2007. i need to install webmin in centos but i having rpm package in windows xp how i share the folder for linux. i dont know how to share a folder for virually installed centos in microsoft virtual pc 2007.
View 3 Replies
View Related
Dec 10, 2010
'm a bit familiar with Centos as I have set up few website on this environment but I have never actually installed, and especially, configure ftp server. Now I need to do this. Simply I need to be able to create an access account for a user and then restrict access to only one folder within the website (idea is to allow this user to upload images via ftp). I did google for ftp servers and read about vsftpd but I couldn't find any tutorial on how exactly make it work with folders and specific users.
View 3 Replies
View Related
May 22, 2010
I've a website source in my home folder and would like to ba able to access to it with apache.So I put a symlink to the folder in my /srv/http folder
Code:
$ ls -dl /srv/http/file
lrwxrwxrwx 1 http http 38 May 8 13:35 /srv/http/file -> /home/mart/Dropbox/AIESEC/file sharing
[code]....
View 4 Replies
View Related
Jun 21, 2010
that is we have many users and most users can go in most file and in that file there are few sub folders and only handful of the can enter that sub folder but I don't know to to do
View 6 Replies
View Related
Jul 9, 2010
i want to copy one folder to server using terminal. iwant to copy datatable folder to server. it like this:
copy from
user: /home/qa/html/datatable
to
server: www/html
how to do that...i'm new about this..i try like this:
1> qa@qadesktop2:~$ ftp 10230.35.211
2> fill password
3> ftp>cd www/html
4> ftp>mput
(local-files)/home/qa/html/dataTable-1.6/*
View 3 Replies
View Related
Oct 18, 2010
Does anybody could explain me how to chroot samba folder ?
View 1 Replies
View Related
May 30, 2010
I am running into a Brick wall with this. And thought that the knowledge and expertise here would be a good place to seek help.I have CentOS 5.4 server running Samba on a WinBloZ network. I have the groups all setup and that aspect works fine. But here lies the issues.In a shared directory with group permissions set if someone on the group with permission to this directory creates a file they are the only person that can edit / modify that file. That file need to be editable by the entire group. But the only way thus far I can achieve this is to manually chmod the files in the directory. I know there is a way to fix this, but I have not found it. Can someone please explain how to make this work for me.
View 1 Replies
View Related
Feb 22, 2010
I have Apache installed on CentOS 4.5. My website have to play music on page and i have to show the file path. Eg : my website is in /var/lib/apache/webapp/mywebsite and my music folder is in : /music/myfile.wav and i want to play music on this /music folder and allow guest to download file. How can i do this?
View 1 Replies
View Related