Ubuntu :: What Files Should Be Configured To Setup Apache

Jul 19, 2011

At this moment I got a question asking what files should I configure to setup Apache and the client to access should insert something like http://10.0.0.10/mywebsite:8080. I have already installed APache2, and change the listen ports to 8080 at ports.conf (Listen 8080 | Name VirtualHost *:8080) and at /etc/apache2/default (VirtualHosts *:8080). I also found the index.html at /var/www folder. I also changed IP address at /etc/network/interfaces. With this changing, now I can access using http://10.0.0.10:8080. But the problem is, what about the "mywebsite" part?

View 6 Replies


ADVERTISEMENT

Networking :: Can Apache Be Configured To Use Web Files Stored On A Nas

Feb 18, 2009

I would like to use a nas to store my web site files. Can Apache be configured to serve web files from the nas?

View 4 Replies View Related

OpenSUSE Network :: Setup An Apache Server On Computer Which Will Allow Browsing Of Files In A Specific Directory And Subdirectories?

Jun 13, 2011

I'm trying to setup an Apache server on my computer which will allow browsing of files in a specific directory and subdirectories, without needing any sort of authentication.

I've got the Apache2 server up and running through yast, and everything works fine as long as I try to point it to the /www/htdocs folder. However, I want to point it at another folder, which is on another partition. This partition is formatted as NTFS, if that matters at all (here's some background on some permissions issues I had with the NTFS partitions recently).

When I change the "Directory" setting in the Yast http server configuration utility to the directory on the NTFS partition I wish to use, attempting to access the server results in the following error:

Code: Access Forbidden: You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. If you think this is a server error, please contact the webmaster.

Error 403
192.168.1.100
Mon Jun 13 23:43:29 2011
Apache/2.2.17 (Linux/SUSE)

View 4 Replies View Related

General :: Check If Apache Was Configured With SSL Enabled?

Dec 1, 2010

How can I check if my CentOS server has Apache configured with SSL enabled? I think Apache was installed with the default modules.

View 3 Replies View Related

General :: Configured A Svn Server With Apache - Error

Feb 2, 2011

I configured a svn server with apache. But while checking out it give the error as follows:

PHP Code:

It's on suse 10.

View 3 Replies View Related

Server :: Apache Starts More Processes Than Configured?

Dec 2, 2010

I googled upto my capability but cant find answer so asking you In one of my apache 2.0.52 machines, we are using worker MPM model. Even if I use 1 start servers, the # of http processes it starts is 5. No matter what value I pass in StartServers, I dont see more than 5-6 http processes

MaxClients 1
ServerLimit 1
ThreadsPerChild 1
StartServers 1

View 1 Replies View Related

Ubuntu Networking :: Kubunutu 8.10 Setup - Unable To Get Internet Configured?

Feb 10, 2010

I have kubuntu 8.10 up and running however I am not able to get internet configured. this is on a laptop i re-purposed. I have ubuntu on a desktop that works just fine. however w/ kubuntu no such luck. i realize its just kde vs gnome and am connected to the same router and such so all should work just fine, but alas it doesn't.the desktop is configured using dhcp, not static IPs.

the laptop w/ kubuntu isn't recognizing eth0

>cat /etc/network/interfaces displays:

auto eth0
iface eth0 inet dhcp

after restarting and running /etc/init.d/network restart.there is no resolv.conf... i understand dhcp should auto-create this? furthermore running ifconfig desplays no results ?

View 5 Replies View Related

General :: Configured To Download Files Using Wget?

Dec 10, 2010

Is it possible to configure yum so that it will download packages from repos using wget?Sometimes in some repos yum will give up and terminate for "no more mirrors to retry". But when use "wget -c" to download that file, it will be successful

View 2 Replies View Related

Fedora Networking :: Samba Configured - Access My Music Files

Apr 14, 2010

I need to connect to upstairs windows-7 machine that is connected to router. I have laptop downstairs running F12 (gnome) with wireless connection.

I need to access my music files on upstairs computer. Do I need samba?, without it so far I am getting an error can not mount the windows machine...

View 2 Replies View Related

Ubuntu :: Apache Tomcat Setup To Run On SSL

Feb 22, 2010

I want to setup tomcat and apache to run on SSL. I did set up apache to run with ssl and tomcat (wo ssl). Tomcat is on 8081 and apache is on standard HTTP/HTTPS ports. Now I installed JK module and I want to access "host-manager" application on tomcat with ssl, but when I try https://localhost/host-manager/ I get 503 error and when I try [URL]. I get 404 error. Here's my /etc/apache2/sites-available/default conf:


Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory> .....

Here is /etc/apache2/mods-enabled/jk.load:

Code:
LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so
JkWorkersFile /etc/apache2/workers.properties
JkLogFile /var/log/apache2/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
and here is workers.properties:

Code:
worker.list=worker1
worker.testWorker.port=8009
worker.testWorker.host=localhost
worker.testWorker.type=ajp13

View 1 Replies View Related

Ubuntu :: Setup Apache To Serve Only The Computers In The LAN?

Jun 10, 2010

I use to keep a running instance of Apache in order to test my sites locally. I'm usually not that fussy about security, assuming my 80 and 8080 ports are closed (and, well, also the other ones).Anyway this evening I was just logging into PHPMyAdmin when I found the default username was a string of garbled characters. When I entered PHPMyAdmin, I was greeted with the message

Code: Additional features have been disabled in order to work with linked tables. To find out why click here.So I clicked and it seems that the error comes from the table

Code:
$cfg['Servers'][$i]['tracking']
which has been disabled. Everything else SEEMS ok at first sight.So now I have got a few questions.

1) I checked via canyouseeme.org and the default ports are still closed. This mean it should be impossible to even try to do something on my Apache remotely, right?

2) How do I reenable the additional features?

3) How do I check if someone else logged in?

4) What about the garbled name at the login? This should be just a Firefox thing, or actually PHPMyAdmin does suggest the name of the latest login?

5) How do I set up Apache to serve only the computers in the LAN? At worst, even only the local computer would be good.

View 4 Replies View Related

Ubuntu Servers :: 9.1 Setup - How To Get Apache To Display Website

Jan 10, 2010

I have Ubuntu 9.1 setup, with ISPCONFIG3, squirrel mail, apache2, mysql, phpmyadmin, phpbb3 so now what, what do I need to do next to setup to get apache to display my website and where do I need to put my web files?

View 1 Replies View Related

Ubuntu :: MIME Types Setup For Apache / MediaWiki

Jan 28, 2010

I'm trying on getting the MIME types setup correctly for Apache/MediaWiki. I think I've modified every config file known to man to no avail. Here's some info on what I've got going on. I'm trying to get the Office 2007 MIME types configured for MediaWiki 1.14 so that we can upload/download the files. Out of frustration/lack of need I went the less secure route and I modified the LocalSettings.php config file to disable MIME type verification for uploads.

Code:
$wgVerifyMimeType = false;

This works great for the uploads, and I can upload .DOCX, .XLSX, and .PPTX all day long, however when downloading them, they download as a .ZIP file with all the XML info inside of it. No biggie for me personally as I can just rename .ZIP to .DOCX and it works fine, however for the average user it's not going to fly. So, I figured that MIME types would be the source of my pain and started doing some research.

I have modified the following config files to include the MIME types listed below.
/etc/mime.types
/var/www/.htaccess (created to try and force them)
/var/www/mediawiki-1.14.0/.htaccess (created to try and force them)
/var/www/mediawiki-1.14.0/includes/mime.types

Code:
application/vnd.ms-word.document.macroEnabled.12 .docm
application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx
application/vnd.ms-powerpoint.template.macroEnabled.12 potm
application/vnd.openxmlformats-officedocument.presentationml.template potx
application/vnd.ms-powerpoint.addin.macroEnabled.12 ppam
application/vnd.ms-powerpoint.slideshow.macroEnabled.12 ppsm
application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx
application/vnd.ms-powerpoint.presentation.macroEnabled.12 pptm
application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
application/vnd.ms-excel.addin.macroEnabled.12 xlam
application/vnd.ms-excel.sheet.binary.macroEnabled.12 xlsb
application/vnd.ms-excel.sheet.macroEnabled.12 xlsm
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx
application/vnd.ms-excel.template.macroEnabled.12 xltm
application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx
It doesn't seem to matter where I put the code, I can't get the MIME types to register with Apache/MediaWiki.

View 1 Replies View Related

Server :: Ubuntu 9.10 Setup - Open AVI Links In Apache

Mar 12, 2010

I have my Ubuntu 9.10 server setup with apache2 and it will load web pages. The cgi-bin perl programs do run in the web server. What I would like to know is how to have it access video files and download then from a link. The video files are at /media/usb-drive/Movies/movies

I think my Alias is setup.
ScriptAlias /movies/ /media/usb-drive/movies/
<Directory "/media/usb-drive/movies/">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

When I make a web page with a link to a file
<a href="/media/usb-drive/movies/Movies/test.avi">Video</a>
I get the error
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.
Apache/2.2.12 (Ubuntu) Server at usha.homelinux.com Port 80

If I make a link to a file I do not have it get this error
<a href="/media/usb-drive/movies/Movies/nofil.avi">Video</a>
Not Found
The requested URL /movies/Movies/W1.avi was not found on this server. I do not know what the misconfiguration is.

View 3 Replies View Related

CentOS 5 :: How To Setup Apache To Tomcat

May 7, 2011

I installed the Tomcat5.5, but when i test the port 8080 didn't work, where i can edit to work it properly? and then help me how to setup apache to tomcat? specific command, directory where i can edit and configure the scripts? and where i can put the web application file?

View 1 Replies View Related

Ubuntu Security :: Ways To Secure Server Setup With Apache?

Jun 19, 2010

I've set up a server for the first time today and I'm reading up on how to secure it. But I was wondering if anyone here would give me some tips from personal experience on what to do before going online with my website for the whole world to see. I'm running Ubuntu Server edition and Apache. Am I good to go with default settings or is there anything recommended that I should first do?

View 9 Replies View Related

Ubuntu Servers :: Setup Puppet To Install And Configure Apache

Jul 7, 2010

I'm trying to setup puppet to install and configure apache on several servers. Having found: [URL] I thought I was onto something. However I'm a little lost, does anyone know of or can anyone write a small howto on how to get this module working on certain nodes. My current state is puppet is running and connected to the puppetmaster. I can do simple things but the apache install have lost me a little.

View 1 Replies View Related

Ubuntu Servers :: Setup Puppet To Install And Configure Apache?

Nov 23, 2010

I'm trying to setup puppet to install and configure apache on several servers. Having found:

[URL]

I thought I was onto something. However I'm a little lost, does anyone know of or can anyone write a small howto on how to get this module working on certain nodes.My current state is puppet is running and connected to the puppetmaster. I can do simple things but the apache install have lost me a little.

View 4 Replies View Related

Ubuntu Servers :: Setup A Home Web For Personal Site Using 11.04 And Apache

Jul 23, 2011

I am trying to set up a home web server for my personal site using Ubuntu 11.04 and Apache. I have set up a user called www and given it FTP access to its home area (/home/www) using vsftpd. I then edited /etc/apache2/sites-available/default and set the DocumentRoot directive to /home/www. When I made a test index.html file in that directory it worked fine. Then I FTP'd to the server (as www) from another PC and uploaded the site files. Now when I try to access the site I get an error 403 (forbidden).Obviously I'm doing something wrong here but I'm not sure what. What should I do to fix this.

View 2 Replies View Related

Fedora Servers :: Setup The ERuby On Apache?

Jun 17, 2009

I'm trying to setup eRuby on my Apache server, and I'm having problems. Currently, I have this in a separate config file in "/etc/httpd/conf.d/eruby.conf":

Code:

AddType application/x-httpd-eruby .rhtml
Action application/x-httpd-eruby /cgi-bin/eruby
DirectoryIndex index.rhtml

I have a file named "index.rhtml" in a folder called "test" that's in the root of my server. When I try to get to the file I get this, though:

Code:

You don't have permission to access /cgi-bin/eruby/test/index.rhtml on this server.

View 3 Replies View Related

OpenSUSE :: Setup PHP / Apache / MySQL For Development?

Mar 16, 2011

On Windows and Mac it's as simple as downloading some WAMP and XAMP stack and clicking "install".

On OpenSUSE I'm trying to do it myself. I went into YaST and installed the "Web and LAMP Server" pattern.

Then I edited the default-server.conf file to point towards my website by changing the DocumentRoot and <Directory "blah blah"> lines.

Then I tried to start apache, but got the following error:

Code:
# apache2ctl restart
httpd2: Syntax error on line 188 of /etc/apache2/httpd.conf: Could not open configuration file /etc/apache2/sysconfig.d/include.conf: No such file or directory
So I just went into httpd.conf and commented out that line.

[Code].....

View 7 Replies View Related

Debian :: Webserver Setup With Apache Worker And PHP?

May 26, 2011

I need to setup a web server with apache (worker) and php. What is the cleanest way to this with Debian Squeeze?

View 1 Replies View Related

General :: Apache 2.2 Setup On Debian - About Name Servers?

Jan 5, 2011

I'm setting up my Debain machine to host my homepage, and I have installed Apache 2.2, and a browser-based GUI for it called Webmin. I have a domain name with co.cc, it is www.patmore.co.cc. On the domain name site, there are two fields for name servers. Presently, they are set to the name servers for my hosting company. Apache is working on my machine. When I type my host name in my browser, it goes to index.html in the document root, as it should. When I key in my Debain machine's IP address on another machine on the same network, it also goes to index.html.

Attached, there is a screenshot of the Virtual Server Details in the Webmin GUI. I think I have the server name set right, but what do I type in the Address field? What do I need to type in for my name servers on the domain name site?

View 3 Replies View Related

Server :: Apache Virtual Host Setup

Oct 29, 2009

I have 4 domains registered through godaddy. I have a dell poweredge box with one static IP hosted somewhere. I want the 4 domain to resolve to four different sites. I have already created 4 different sites in apache with four different aliases and has enabled it.

eg
alias /a /var/www/a
alias /b /var/www/b
alias /c /var/www/c

I want to acomplish.

www.a.com ==> xx.xx.xx.xx/a
www.b.com ==> xx.xx.xx.xx/b
www.c.com ==> xx.xx.xx.xx/c

I tried with godaddys forward with masking option. It works but I can't hide xx.xx.xx.xx/a in the links. Whats the best approach? One limitation is I cannot use the webhosts name servers. How do I set this up with name based virtual hosting? Do I setup a DNS server in the box?

I do have a dns host name for my box which is publicy accessible. Some my.ca.examplehost.net

View 3 Replies View Related

Server :: Setup A Apache Htaccess Redirect?

Jul 7, 2010

Stay I have a url to view files, e.g.

[URL]

How do I setup a apache htaccess redirect so I can use a static url like:

[URL]

View 3 Replies View Related

Server :: How To Finalize Apache Tomcat Setup

Nov 16, 2010

I have FC13 with apache up and running. I need to run tomcat to do some dynamic web with eclipse, I checked my setup and noticed that I already have tomcat5 in add/remove software as installed bu can not find any etc/tomcat and not able to find how to test. I went through the FC13 documentaion, nothing is mentioned abou apache tomcat setup finalizing and testing that ships with FC13 it works. I googled and found some docs around setup tomcat6 or tomcat 5 but not how finalize the one shipped with FC13.

View 2 Replies View Related

Server :: Setup Permissions For SSH Access To Apache?

Feb 23, 2010

I am looking for the best way to set up permissions in the following situation. I have a web server set up on debian. I have different web sites in /var/www. Each web has a group of developers who each have system users and ssh access to the server. For example i have a web site in /var/www/example.com and a group of developers in group exampledev. I need all the users in exampledev plus the apache user (www-data) to have read write and execute permissions on all the content of the web site. I can give the group exampledev these permissions without a problem. The problem is that when they modify or create new files (they either connect via ssh o sftp which is the same right?) they are created with their user and group rather than exampledev. Am i going down the wrong path? This must be a common situation but i haven't found the solution.

View 5 Replies View Related

Software :: Setup Proftp And Apache On Debian?

Apr 22, 2010

I setup proftp and apache on debian linux. I can go to [URL] and see the it works page but do not know where to beginn with proftp. how do I check to see if the ftp works.

View 8 Replies View Related

Ubuntu Servers :: Apache Setup For Hostname Access On Local Network

Apr 13, 2011

I have installed Ubuntu on four machines at work and have been blown away. On my machine I have Apache setup for web development and other machines can "see" it using my IP address. I would like to have it so they can access by the name of my computer though. I have no local DNS server so I guess I need to hard code the relationship in each machine? Ideally I'd actually like to be able to use subdomains (which I use locally to avoid annoying .htaccess path problems). i.e. from another machine on the network to go to [URL].

View 3 Replies View Related

Fedora Servers :: Simple Apache/PHP Setup For A Start

Feb 26, 2010

I've installed Fedora 12 Desktop in order to develop a simple website, which is going to use some PHP.

I will need:code editor to write html/css/php local apache server running php browser how to get me up and running in no time with least extra configurations.

Bonus: I'm going to run all this in a virtual box on my company computer. I'd love to be able to stay undercover with this, so if one of you can tell me how to configure the apache server not to be too visible to the company network/domain, that'd be excellent.

View 7 Replies View Related







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