Fedora :: Change /var/www Document Root Folder?

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


ADVERTISEMENT

Server :: Change Document Root Apache Fedora?

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

Fedora :: Folder Icon - Desktop - Document - Music - In Home Dir - Do Not Change With Theme

Dec 19, 2009

I was playing with some gtk2 themes and , unaware of the consequences, i manually changed folder icons from folder properties for some of the folders (desktop, document, music, etc) in my home directory. The problem now is that these folder icons do not change when i change the icon theme. how can i bring it back to normal?

View 1 Replies View Related

Fedora Servers :: Document Root Must Be A Directory

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

Fedora :: Change Title Of *.pdf Document?

Dec 9, 2009

Seems to be a silly question, but does anybody know how to change the title of an pdf document? (even in the console)I searched in Okular, pdfedit, gimp and gnome documentviewer but they dont seem to have a title option.Only open office writer has this option, but this is actually not saved in the pdf title tag.(I need it as Google indexes the title tag and I have there an ugly path name at the moment.)

View 14 Replies View Related

Ubuntu :: How To Change Permission Folder So Only Root Can Open It

Apr 18, 2011

i wonder how to change permission folder, so only root can open it?

View 9 Replies View Related

Ubuntu :: Getting Root Privileges To Change Files In Own Home Folder?

Jul 16, 2011

I'm running ubuntu 64-bit server edition so ill have to use the command line for this. i want to create or change a file in my own home folder, i have to do it as sudo, otherwise i get an error message saying "permission denied".

View 4 Replies View Related

Fedora Servers :: Copied The Web Page Files To Its Document Root <var/www/html> & Disabled The Default Web Page?

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

Ubuntu :: All Files In Document Folder Disappeared

Jun 18, 2010

I dual boot Ubuntu 10.04 and windows 7. I have a separate partition where I store all my documents, music, photos and videos, so that I can access them using windows or ubuntu. Now, all the files in the documents folder have disappeared. The folder structure is still there, including all subfolders in the documents folder, but everything that was in the folders is gone. The music, photos, and videos are all still there. I recently tried to set up Ubuntu One.
Postscript: I'm glad to realize that a recent simple backup had saved my data.

View 1 Replies View Related

General :: Apache Can't See Document Root

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

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 View Related

Ubuntu :: Firefox Logs Residing In Home Document Folder?

Apr 26, 2010

i was looking for my assignment and i found it in documents folder.I also found some strange icon looking files and folders too such as urlclassified3.sqlite and many more i did not know what it was and i deleted it but somehow i know it was related to firefox, because there was a test pilot error log and i deleted it too and next when i opened firefox my bookmarks and personas were gone i don't know what happened and there are now new files and folders which have made it self in documents folder again anybody know what to do with it?

View 9 Replies View Related

General :: Apache Won't Redirect To New Document Root

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

Server :: Execute CGI On Apache Document Root

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

Software :: Apache Document Root Conflict

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

Ubuntu Servers :: Changing Document Root On Apache2?

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

Ubuntu :: Apache2 Redirect After Changing 'Document Root' From /var/www?

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

Ubuntu :: 403 Error After Changing Apache Document Root

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

General :: Apache Virtual Host Document Root ?

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

CentOS 5 :: Apahce Document Root Location Conflict

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

Fedora :: Unable To Delete Folder From Root

Sep 2, 2010

I have a folder "scratchbox" created by a user "hari" (which is cross-compilation toolkit, and creates soft-links if it might ). Now I deleted the user "hari" by using userdel command. I didn't uninstall scratchbox from "hari" account. Now even when i login by root, i am unable to remove the "scratchbox" folder.

[harsh@ubuntu] lsattr -d /scratchbox/
-----------------e- /scratchbox/

I have created new user (harsh) and want to install the "scratchbox" again, but it won't allow.

harsh@ubuntu:~$ sudo rm -rf /scratchbox/
rm: cannot remove `/scratchbox/users/hari/proc/asound/Intel': Operation not permitted
rm: cannot remove `/scratchbox/users/hari/proc/asound/card0/oss_mixer': Operation not permitted

[code]....

View 4 Replies View Related

Fedora :: Open A Folder With Root Privileges?

Aug 17, 2011

How does one open a folder with root privileges? I am trying to extract a screenlet into a screenlet folder but it says permission denied. How do i change that?

View 4 Replies View Related

Red Hat / Fedora :: Cross[x] Mark On Root Folder?

Feb 5, 2011

recently i have installed fedora13 on my laptop okey and when i logged on i t provides two option first with user name and second with other so what is tha purpose of other option

also,when i go to mycomputer file system then at that point i found that there is cross[x] mark on root folder why this is so.

View 3 Replies View Related

Fedora Security :: How To Delete Folder Without Root Permission

Apr 23, 2009

I have a system in which I do not have root access to. On that system, I have my own directory which I share with other users. I am trying to clean it up when I noticed that there was a subdirectory created by another users in my group that I cannot delete. It has all the permissions set besides global write. How can I delete this folder without root permission? I can't even chmod or chown it.

View 3 Replies View Related

Ubuntu Servers :: Apache Document Root External Hard Drive

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

Ubuntu :: Okular Does Not Reload Pdf On Document Change?

Mar 14, 2011

I'm working on a latex document with a default installation of latex/kile. Strangely enough, upon a document change, okular does not reload and display the changes. This is contrary to all other pdf viewers that I have used. Is there anything that can be done? I noticed that in the okular settings, there is an option to "Reload document on file change." Even though it is enabled, okular does not oblige.

View 1 Replies View Related

Software :: Change Document Viewer Shortcuts?

Nov 5, 2010

I'm using Document Viewer 2.32 (Evince) under Ubuntu 10.10 and my shortcut for the "Rotate Right" option used to be Ctrl + Right. It worked ok since a few days ago, now appears this shortcut is backspace. I've tried to reinstall Evince packages but this doesn't work. Since this is really annoying I would like to know how to change this program "Rotate Right" shortcut back to Ctrl + Right.

View 2 Replies View Related

Applications :: Change OO Writer Document To Portrait To Landscape?

Apr 27, 2009

Some options are disabled because of some mode I'm in (default) but how to change that?

View 1 Replies View Related

Software :: Open Office - Change Document BG Color?

Aug 3, 2010

I'm running Open Office 3.2.0. Does anybody know how to change the background color of an entire Open Office document? I know that you can change the background of a page in the Format >> Page menu, but this does not change the color of the page area inside the margins. Normally it wouldn't make much sense to change the background color when it just gets print to a page anyway. But I actually wanted to export the document to PDF, and was thinking it would make the PDF look better if I could pick the BG color.

View 2 Replies View Related

Fedora Security :: Change Folder Permission?

Jul 5, 2011

Dear Friends, For Upload a Web Site in my Local Fedora using Apache I need to use the /var/www/html folder.But I cant add/edit anything on html folder

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved