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
ADVERTISEMENT
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
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
Mar 15, 2011
I know what I need to do I just cant seem to achieve it and that is correctly setup a DNS server that works over the internet, I'm using BIND9 with webmin. I have Fedora 14 - Apache is install its all working locally, so this final step I just can't grasp to be honest.
View 14 Replies
View Related
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
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
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
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
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
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
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
Sep 1, 2011
I am working in a project that needs to set up an Apache Web Cluster. The cluster needs to be High-availability (HA) cluster and Load-balancing cluster. Someone mentioned the use of Red Hat Cluster Suite, but, honestly, I can't figure out how it works, I haven't been able to configure it correctly. The project currently have two nodes, but we need to support at least three nodes in the cluster.
View 5 Replies
View Related
Mar 16, 2010
Good tutorial, using images for a lamp server that has, MySQL,PHP, Apache, FTP with all the fruit for running a server that will host a Gallery, forum and main site
I know there's heaps around for Ubuntu 9.10, but its not quiet what I'm looking for as in Gd, ImageMagick and some extras for Apache mods
View 1 Replies
View Related
Mar 12, 2010
I have dedicated LAMP server running and I was wondering if I am able to run a dev/testing zone on it so to speak?...That way, I can have my come back soon, site is being constructed page live, and develop elsewhere on the server. I was trying a virtualhost, but since that is name based, the web browsers don't know what to do with it. I know the safest way is to develop on this machine then move to web server but I'm just seeing if what I was trying to do is possible.
View 4 Replies
View Related
Jun 12, 2010
I now have 2 desktops running debian. I have virtual servers running in desktop 1, and I am hosting my photos using Gallery2. I have copied Gallery2 and the mysql over to desktop 2. I have entered port forward to desktop 1 using port 80 (using my router), and desktop 2 using port 1000. I can only access Gallery2 in desktop1. If I tried to access Gallery2 in desktop 2, I got re-directed to desktop1.
Questions:
1. Are home routers capable of port forward to more than one computers in a home network behind the firewall of the router? It is Belkin N+ router.
2. Can multiple virtual servers be setup in 2 desktops?
View 4 Replies
View Related
Mar 14, 2010
I ended up setting up a basic linux file server as a pdc for that office. Our main office is a windows 2000 ads domain. The two offices are connected with a vpn. I only have two users at the new location so I simply have the linux and samba usernames/passwords setup manually. I would like to know if it is possible to setup a domain trust between the two sites so I don't have to create a username/password in the remote site for every user at the main office to access. I did some searching but came up empty.
View 5 Replies
View Related
Nov 2, 2010
I am trying to set up a SSH key between servers so no password is required when I have to "scp" files between the two. This is what I have tried so far but still requires a password:
Code:
ssh-keygen -t rsa
scp /home/<user>/.ssh/id_rsa <server2.com>:/home/<user>/.ssh/athorized_keys
When I scp after this I wasn't expecting to need a password but it is still prompting. Now I have used this same method before and it has worked great. The only difference this time is server2 is not in the same cage.
View 4 Replies
View Related
May 3, 2010
I have Webmin installed on an Ubuntu server. I currently have a successful apache server running on port 80, however I want to create a virtual host on port 81. When I try I go to servers->Apache Webserver-> Create Virtual Host I change the port to 81 and the document root to /var/port81www then I click create. How ever when I goto 192.168.1.5:81 (local ip, I know I have to port forward but its not even working local) it does not work.
View 5 Replies
View Related
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
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
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
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
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
View Related
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
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
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
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
Mar 28, 2010
I am in verse to test "Multicast Packet filtering".I want to setup Virtual Machines to be servers with bind option set to a multicast group address of 225.0.62.87.Then I want to configure the client VM, connecting to the multicast group address and setting the TTL as needed.
View 3 Replies
View Related
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
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