Software :: Trying To Browse Outside Document Root
Sep 25, 2009
Integrating a website with my billing agent, they suggest:"Make a directory named 'data' outside the document root of your websiteYour password file (.htpasswd) and others will be stored in this 'data' directory. You must create the data directory outside your web root".How do I get around this and get a browser to access my /data directory and not my /var/www/html/data directory?
View 3 Replies
ADVERTISEMENT
Apr 12, 2010
I run ProFTPd with TLS authentication on my Debian Lenny server. My problem is that despite of the fact that my users connect chrooted, one of my friends had root privileges after logging in form a Macintosh and could browse the root directory, too.
View 1 Replies
View Related
Jun 5, 2011
How to browse as root in GNOME 3?
View 5 Replies
View Related
Feb 9, 2011
I have set up apache on Centos 5.5 and am struggling with vhosts set up.With the config I have set apache will correctly serve sites with a document root of
/var/www/html/home/myuser/public_html
but not /home/myuser/projects > ls -al
shows public_html and projects as having identical permissions (755)
View 11 Replies
View Related
Jul 30, 2009
I am trying to get apache to start at boot in Fedora 10 but I am getting "Document root must be a directory", I tried to change the Selinux settings with:
chcon -R -h -t httpd_sys_content_t /www
I checked the new settings with ls -aZ and the changes apear to be fine.
apache apache unconfined_u:object_r:httpd_sys_content_t:s0
But I still get the same message on my boot.log file.
View 9 Replies
View Related
Dec 25, 2010
I wanted to know is there anyway we can change the document root location /var/www to some other custom location. I tried modifying this location information in couple of conf files in /etc/httpd, but I started receiving lots of error messages from selinux on labelling issues. So I had to revert back.
View 6 Replies
View Related
Jun 20, 2011
I've set my document root directory in httpd.conf to the directory I want to serve files out of, and set Options to Indexes FollowSymLinks; I've saved the configuration file and restarted apache, yet when I direct my browser to the domain name that's seated there, I can't get at my index.html which exists there. It serves index.html when it exists in the natural document root.
View 8 Replies
View Related
Mar 18, 2010
how can I run CGI scripts that are without extensions under the document root?i can not use ScriptAlias on the document root, i can run .pl scripts but i cant run any script without extension...ofcourse all files are executable on the fs.
View 8 Replies
View Related
May 21, 2009
I have a VPS (Mosso Cloud Server) that is administered and monitored by Platinum Server Mgmt. I have CentOS 5 and Apache 2.2 installed.I requested that my Document Root be set to /var/www/JPDemole.com/ and also a subdomain setup to /var/www/test.JPDemole.com/
They responded by telling me that it would, "[This would] cause a problem with the permissions and that it will be a permissions conflict if you set them to /var/www/. For security and compatibility purposes, they should be in /home/username/.... It can be put anywhere in there."
This is the first time I've been involved with any server administration, but while coding on numerous private vps's before, they had a setup similar to what I was requesting.Am I incorrect in my understanding of the previous situations and the Mgmt company is in fact correct?
View 5 Replies
View Related
Mar 14, 2010
how can I change the document root from /var/www to another folder? I cannot find anything in the apache2.conf or httpd.conf.
View 2 Replies
View Related
Apr 2, 2010
In /etc/apache2/sites-available/default, I changed my 'Document Root' and 'Directory' from /var/www to /var/www/newdir.have an index.php file in /var/www/newdir I use to authenticate, but when I try to redirect back to index.html in /var/www, i get a 404 error.Anyone have info / know where the link to this discussion is
View 5 Replies
View Related
Sep 19, 2010
I've had apache installed for a couple of years with no problem but this morning I thought I would change the apache document root to my secondary disk so that my WAMP setup in my Windows partition and LAMP could share the same files. I've edited the etc/apache2/sites-available file to point it to the new location of my document root but I am getting a 403 - forbidden "You don't have permission to access / on this server." error when I try to load files through the browser. I'm not sure if this is a permissions issue or the way I've edited the sites-available config.
Here is the new sites available config:
Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /media/Data/webroot
<Directory />
Options FollowSymLinks
AllowOverride None .....
View 5 Replies
View Related
Sep 9, 2009
I'm now configuring my web server to server different Virtual Hosts based on DNS name. Right now I store my files in /var/www per the default installation settings in Apache.
Questions:
I want to change the Document Root to /home/username/public_html/example1.dyndns.org for the second virtual server. What do the permissions need to be in order for Apache to read the files in this location? Would it be best to force Apache to run as this new username instead of www-data?
My Virtual host setup will look something like this
I want to change the DocumentRoot as I am running a chrooted ProFTPd server and want to be able to update webserver files via FTP. I am running Ubuntu 8.04 LTS Server (CLI only).
View 5 Replies
View Related
Mar 19, 2010
I want to change the DocumentRoot on my Apache httpd server.
I have Changed it from the default to var/www/projects
but its not working.
[CODE]
### Section 1: Global Environment
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests it can handle or where it
# can find its configuration files.
[Code].....
View 178 Replies
View Related
May 21, 2009
I have a VPS (Mosso Cloud Server) that is administered and monitored by Platinum Server Mgmt. I have CentOS 5 and Apache 2.2 installed. I requested that my Document Root be set to /var/[URL] and also a subdomain setup to /var/[URL]. They responded by telling me that it would, "[This would] cause a problem with the permissions and that it will be a permissions conflict if you set them to /var/www/. For security and compatibility purposes, they should be in /home/username/.... It can be put anywhere in there." This is the first time I've been involved with any server administration, but while coding on numerous private vps's before, they had a setup similar to what I was requesting. Am I incorrect in my understanding of the previous situations and the Mgmt company is in fact correct?
View 1 Replies
View Related
Apr 28, 2010
I am trying to use my external hard drive to store webpages and on the webpages it is uploaded to the folder. When i navigate to the address it says it is forbidden. I also noticed that it would not let me upload files to the folder it says i do not have permission. Can someone help me get passed the barriers. The hard drive is ntfs.
View 7 Replies
View Related
Jun 9, 2009
I am on mac os x and whenever I make aliases in my apache config file to point to folders outside of main web document root folder, I get access forbidden. I have chmod -R 777 the whole destination directory (to test it) and still no go. Access forbidden. I have also tried pointing directly to [URL].
View 1 Replies
View Related
Mar 13, 2010
how to get xsane to scan a document and have it display as a full 8.5x11 sized document instead of something half that size? I've been trying and trying and can't seem to figure it out.
View 3 Replies
View Related
Jul 6, 2010
Anyone have better documentation or an update to the this version of the file Tomcat HOWTO openSUSE as that document is referencing 10.2. Or a document for use with SLED.
View 3 Replies
View Related
Jun 8, 2009
I have apache httpd server on my Fedora 10I got 2 problems:First : I copied the web page files to its Document Root <var/www/html> & Disabled the default web page. But when I visit http:/localhost ,it shows up the list of files in <var/www/html> as if a ftp server browsed in web page. So how can I set http://localhost load my default web page index.html ?Second :I want to set up a web server on Internet through my router . I applied for DDNS account & input it into router correctly . I set virtual host in server to redirect any access from port 80 to 192.168.1.2:80 in LAN . Just for in case , I also download and running the DDNS software & installed it on PC 192.168.1.2 in LAN . My DDNS provider is oray.cn . It's a Chinese server provider . I don't think there is anything wrong with oray.cn . But if you need its information just visit oray.cn (Google can translate it for you). So I want to know did I miss something to set up a web server in this kind of situation
View 2 Replies
View Related
Mar 7, 2010
I'm not exactly new to the linux world. I've been messing with it for six months now. I recently decided to host a public web server out of my home. The is nothing business related merely personal.Now that you have a brief background I will bring you the technical details.I'm apache2 with php, joomla, and mySQL on openSUSE 11.2. a dns server is currently configured. My problem is as follows I set up apache initially and used the default index.html page which simply says It Works. I configured my DNS at the domain registar godaddy.com. After changing the A record to point to my IP the server worked. I then proceeded to install Joomla which installed correctly.Now here is my problem. When I attempt to pull up my domain it appears my DNS is longer working properly and get a DNS error. When I attempt to go directly to IP with my server I still get the initial index.html that says it works. I'm not sure how this is possible and I have cleared all dns info, temp files cookies ect.... I have also had other people test this is as well. I've check my root document pointers for the apache website and they all point to the correct location.
My set up is as follows
Modem
Router
Windows 7 Machine
Sun Microsystems Virtual Box with openSUSE with the network adapter bridged so it can obtain an IP from my router
I'm completely lost at this point and have spent 2 days trying to resolve the issue, any help would be much appreciated. I look forward to everyones reply.
View 7 Replies
View Related
Jun 22, 2010
I like using KDE, however, the browser (Konqueror) has serious problems on those few, most important sites which I must visit daily.I have JAVA and Flash installed, which work fine, but many sites appear with odd artifacts.Is there some way to fix the browser so that it can load these sites correctly? Can I install an alternative HTML layout engine?Is this only a problem on Debian's KDE? Should I try another distribution
View 14 Replies
View Related
Nov 7, 2010
I've just done a clean install of F14.have a wired ethernet connection (no wifi).Initially, I was able to browse the web with Konqueror... but after doing a big package update, and installing Firefox, I can no longer browse any website (Unknown host errors).The strange thing about this is that I can ping successfully via hostname
View 2 Replies
View Related
Jan 2, 2010
So, I've installed Ubuntu v9.10 through the Wubi and I can see only the C, E drivers but not the D one (which is, where I have installed the Ubuntu itself and maybe that's why the problem appear).
View 4 Replies
View Related
Feb 2, 2010
I just booted up, after making a flash USB for a test (didn't work) so I booted as normally into Ubuntu 9.10 (not dual boot). When I get back on, there's this... I don't know how to explain it. If someone can think of a better way to explain this, I'll change the title to be a bit more helpful, and easier to search for those who have a similar problem.
I can't browse through windows (such as with Alt + Tab, or even just clicking on another window), nothing comes to the front, and stays as is. I've not touched my graphics / display settings, so the only thing I can think of, is when I was going through the boot-up applications, but I doubt I disabled anything that would have been graphics and GUI based, or the compizconfig-settings-manager disrupted something. I've ye to test anything, it's rather early.
View 3 Replies
View Related
Jul 18, 2011
My centos 5.6 firewall server shares its Internet connection with my windows machine behind it. After the required settings, the windows machine can ping valid ip addresses but it cannot browse valid url (despite the fact that DNS is set for it).
View 14 Replies
View Related
May 18, 2011
i have a lot of text files, PDF's, CHM's that i need to arrange for easier access. right now i'm just "filing" them in directories. I tried to use Calibre but it's designed to use with eReaders, exporting to ebook formats. The biggest annoyance with Calibre is that it won't open the document with it's related application (PDF with a pdf reader, CHM with Chmsee and so on), but rather open a link in the browser.
View 9 Replies
View Related
Apr 9, 2010
How would I go about defining a variable from a document name. Example:document01.doc I want to take the 01 and set X to equal integer 1.
View 1 Replies
View Related
Dec 29, 2010
In debian lenney I use the dnsmasq as dns resolver, and wvdial to connect to isp, the wvdial connect to the isp but cannot browse the internet with firefox, these are what is done:
Dec 28 21:19:53 salman pppd[8398]: pppd 2.4.4 started by root, uid 0
Dec 28 21:19:53 salman pppd[8398]: Using interface ppp0
Dec 28 21:19:53 salman pppd[8398]: Connect: ppp0 <--> /dev/ttySHSF0
Dec 28 21:19:54 salman pppd[8398]: PAP authentication succeeded
Dec 28 21:19:54 salman kernel: [ 2655.428889] PPP BSD Compression module registered
Dec 28 21:19:54 salman kernel: [ 2655.500676] PPP Deflate Compression module registered .....
Same pc with same isp, modem and dnsmasq working in fedora 12 as I am posting from from fedora 12.
View 1 Replies
View Related
Dec 7, 2010
I have a acer aspire. I recently dual booted with xp and fedora14. we have wifi in the campus and the problem is : I am able to connect to wifi & browse in xp but on the other hand with fedora I am able to connect and the signal is also pretty strong, but I am not able to browse.I am using a firefox mozilla, we also have a proxy for which I have configured all the setttings.The error being displayed is "connection time out".
View 1 Replies
View Related