Jump to content

youcantoo

Members
  • Posts

    19
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

youcantoo's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. [quote author=Nexous link=topic=104053.msg415080#msg415080 date=1155495661] Okay, yes I'm using windows. I currently have Xampp, which contains apache 2, php 5, etc. Except I'm using it just for personal development. I'm running a dsl line, speed, I'm not sure. I'm also running through a Linksys Wireless Router. Someone to host the dns servers, how would that work? I'm fine with just using my regular isp email. RockingGroudon: Are you using your PC? or a server tower? The only problem is, I don't have a static IP, would that be a problem? Thanks, Joe [/quote] Running it on a DSL should be fine.  You can check to see what speed your line it by going to http://speakeasy.net/speedtest/  Choose a server to test from and it will report your upload and download speed. The upload speed it the one that is important to you. Not having a static ip is no problem, you will just need to use a service like noip.com or freedns.afraid.org or any of the many different ones available. FWIW it doesn't matter if you are using a PC or a tower.  GOOD LUCK  ;D
  2. [quote author=paul2463 link=topic=104002.msg414914#msg414914 date=1155462217] You could of course update everything at once by installing <a href="http://www.apachefriends.org/en/xampp.html">XAMPP</a> , it is an apache server with php mysql perl pear and lots of other things all in one package with a windows installer version. [/quote] There is also WAMP here http://www.wampserver.com/en/ It appears that they have more recent versions of the software
  3. [quote author=Nexous link=topic=104053.msg414864#msg414864 date=1155447693] I'm just wondering what kind of items would be required to host one website. What speed of the connection, what services could be added for security. If anyone has any information on "creating your own host" that'd be great, except keep in mind, this is only for ONE website, not an actual hosting company. Thanks, Joe [/quote] Basically one needs a webserver and an internet connection. If you want to have access to your site using a name instead of your ip number than you are going to need a domain name and someone that can server DNS. The internet connection can be of any spead, though the faster the better off.  For the webserver, since you didn't mentioned which os you are running, I would guess Windows. I would recommend using WAMP (Windows, Apache, MysQL and PHP) You can download it here http://www.wampserver.com/en/  If you are happy using email from your provider (yourname@ispprovider.com) instead of a emai from you@yourdomainname.com Great :) If you want to have an email from you@yourdomainname.com, than you will need a mailserver.  Since I don't know what mailservers works with Windows I can not suggest any. If you were running Linux I would suggest Postfix.  The above can be setup on a very basic computer system.  Good luck  ::)
  4. [quote author=oldmanice link=topic=103955.msg414520#msg414520 date=1155389455] no [/quote] Actually you can have two different passwords for the same username Here see for yourself http://linuxguy.ws/scripts username: testuser password1: testuser password2: testuser2
  5. [quote author=brittny85 link=topic=103919.msg414253#msg414253 date=1155338754] Thank you for your help, but I'm still stuck.  I don't have access to the httpd.conf file so it is all in an .htaccess file.  I tried setting up my .htaccess file like you suggested, but that gave me a server error instead of just denying access.  I am working off of a windows machine currently, however once I get this working I will be uploading it to a Linux server.  Will I have to reconfigure the files for each server that the site is on?  I tried using that link to get the right .htpasswd file set up, but it didn't help either.  Sorry, I am trying to figure it out myself, but I can't find anything that tells me what I'm doing wrong. Thanks again! -Brittny [/quote] Sorry to hear that you still have problems. Can you post the "denying access" error that you were orignally getting? Perhaps it will give me a clue on just how to correct your problem. [quote] Will I have to reconfigure the files for each server that the site is on?  I tried using that link to get the right .htpasswd file set up, but it didn't help either. [/quote] no you should not have to reconfigure the file. that link  http://www.flash.net/cgi-bin/pw.pl should of asked for a username and the password you wanted for that said user when you press the "encrypt" button it should of returned something in the form example atestfile:lfeo8vrSBxJ4. this would be the part that would go into your .htpasswd file.
  6. [quote author=unkownname link=topic=102124.msg405216#msg405216 date=1154105355] Hey Wild thanks for the help but i solved i have to stop solving my problems dimeans the reason for the post right? its already happen 5 times well thanks anyway And the way is not that its to Take out the <directory></directory> im using suse 10.1 pro for all those who have the same question. [/quote] That is [b]NOT[/b] the correct way to fix your problem To fix it properly you need to a an Option index to your <Directory></Directoy> container  or add an index.html file within your public_html directory.  The reason that you are getting that error in the first place is that one should not be looking at a file listing if there is not index.html file within the directory.  A quick search on google would have given you a solution to your problem.
  7. [quote author=livewire link=topic=102353.msg406115#msg406115 date=1154284624] Hey everyone, sorry if this has already been discussed here (couldn't find anything via search). I'm trying to install eGroupWare on my website and I get the error [quote]your files directory '/var/lib/egroupware/default/files' doesn't exist[/quote]. This directory is supposed to be outside the webroot dir (which in my case is /var/www/vhosts/<domain>/httpdocs). I'm running Apache 2.0, and uid.conf file contains [code]User wwwrun Group www [/code] Now, the permissions for the files directory are as follows: [code]drwxrwxrwx  2 wwwrun www 4096 Jul 27 01:01 files [/code] That is because the folder var/lib It seems to be kind of a permissions problem. I guess Apache simply doesn't see this dir or cannot access it. It would be great if you guys could help me on this issue, as it's been killing me for 2 weeks now... Thanks in advance, Algirdas [/quote] Ok did you create the folder 'files' in /var/lib/egroupware/default/ ?? I am wondeing why you chose /var/lib to put egroupware in ? It appears that since the folders are not owned by either wwwrun www you will not have write permissions. those two folders are owned by root and should have the permission of 755
  8. [quote author=Bob B. link=topic=102462.msg406602#msg406602 date=1154366942] I have Apache 2.2 running on Windows 2000 server. I cannot get .htaccess to recognize passords. I have encryped passwords via Perl using crypt ( ) and MD5 and neither work. If I enter the encryped code, it works but not the text equivilent. This is not a script problem as I have tested this as follows: I have a directory in httdocs called member-only. In this directory is .htaccess, .htpassword and an index.html that outputs the following when the password is accepted: "You can see this page or any other file under this directory because you are approved member!". Like I said, the only way I see this output is when I enter in the encrypted password. Here is the contents of my .htaccess: AuthUserFile "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/member-only/.htpassword" AuthGroupFile /dev/null AuthName "Only approved member access to this directory" AuthType Basic <Limit GET POST> require valid-user </Limit> Order allow,deny Satisfy any In .htpassword I have: test:098f6bcd4621d373cade4e832627b4f6 the password is the same as the user "test". I believe that the above encryption was last created with MD5 but can't remember as I have been trying so many things to solve this. You are also welcome to try this via this URL: http://www.civilwarfakes.com/member-only The server error tells me nothing that I didn't know: [Mon Jul 31 10:22:46 2006] [error] [client 71.114.32.208] user test: authentication failure for "/member-only": Password Mismatch If anyone would like to help me tackle this, I would be glad to post my httpd config file. I am about at my wits end. Thanks,   Bob B. [/quote] You can not use clear text passwords with .htpasswd they must be encrypted. (MD5 I believe) Here is a script to create username:passwd sets http://www.flash.net/cgi-bin/pw.pl Are you sure that this password is MD5  ??? test:098f6bcd4621d373cade4e832627b4f6 sure doesn't look like an MD5 encryption to me. Here is what I get when I run MD5 on my system test:pVLve9xwpV1Ac from you error code it would appear that the passwords are not the same.
  9. [quote author=stunner link=topic=102528.msg407018#msg407018 date=1154409226] I need to redirect the starting page http://localhost/index.php to open file in /root/abc.php. How do i do this. How do i specify the path in linux........... [/quote] Change the Document root within your httpd.conf file.
  10. [quote author=wildteen88 link=topic=102720.msg408098#msg408098 date=1154529856] Yes you can host a website of your home PC with Apache. However the PC you host it off must have be good a spec CPU/Memory wise a fast internet connection I'd say 10Mbps+, you'll need to have a static IP address and you'll need to allow access to port 80 or forward port 80 fromyour router - if you have one. Then you'll need to get DNS settings to point to your computers IP addy and then you can assign a domain name to your DNS settings. Thats how it basically works. If you dont have a static IP and have a dynamic IP then you'll need rent a static IP addy from your ISP, if they provide them, or from somewhere else. NOTE: I am not an expert at this, but is roughly what you'll want to do. I'd recommend you to stay with your current host. [/quote] To run DNS you [b] must have[/b] two static ip's
  11. [quote author=mikeymizrahi link=topic=102795.msg408496#msg408496 date=1154560306] i am using apache v. 2.0.55 with php 5.1.4 i am using authtype basic and require valid-user in my httpd file everytime i create a new user, it overwrites the other passwordfile. therefore, i am only able to have one user at a time how can i stop this? [/quote] use the following: htpasswd /path/to/your/.htpasswd  username [b]note[/b] the missing -c after the htpasswd......... using the command htpasswd /path/to/your/.htpasswd  username  -- will read your existing .htpasswd file and add (append) a new name to it. using htpasswd -c  will create the .htpasswd file overwriting the any existing .htpasswd file. if you are on a linux/unix machine from the command prompt type 'man htpasswd' or 'htpasswd --help' or try this webpage for more information http://httpd.apache.org/docs/1.3/programs/htpasswd.html Hope it help  ::)
  12. [quote author=dark dude link=topic=101947.msg403958#msg403958 date=1153929333] I'm using htaccess to [i]try[/i] and block specific people from using my site... Big failure/10 [code] order deny,allow deny from 81.177.15 deny from 81.177.14 deny from 85.255.113 deny from 85.255.114 deny from 195.225.176.86 deny from 85.255.117.250 allow from all[/code] I'm trying to do something like that (I used made up IPs for this display so nobody is threatened). So, I blocked my friends IP as a test, and he could still use my site as normal... My friend does not use a dynamic IP... So, how [b]do[/b] you block IPs from your site using htaccess, what am I doing wrong, and how what does someone entering from a "denied ip" see? Thanks, ~Dark dude~ [/quote] Did you have "AllowOverride all" set within your httpd.conf file? Normally one would see and "Access Forbidden" error when trying to access a blocked area.  Another posted suggested blocking ip using the apache config file instead of the .htaccess file.  That method is by far better than  using the .htaccess  By using .htaccess the server has to do a lot more work looking for the .htaccess file within all directories, there by slowing down the serving of files.
  13. There are a number of ways to block ip numbers or ranges of ip numbers. The first one of the top of my hease is the hosts.deny file. usally found in the '/etc' directory of your system. inside that file you would have something like ALL: 61.178.127.182  <-- blocks a single ip number ALL: 61.145.126.0/255.255.240.0 <- blocks 255 ip numbers (.0-.255) ALL: 61.151.  <-- matches the fist two octels (blocks lots of ip starting with 61.151) ALL: .co.jp <-- blocks everything with with a domain ending with (.co.jp) another way is to block them within the httpd.conf file using the Order Deny,Allow Deny from xxx.xxx.xxx.xxx <--repeat as needed Deny from xxx.xxx.xxx.xxx      each on a line by its self Allow from all last would be using .htaccess personally, I use all three
  14. [quote] The good thing about registering a domian name is you can point your apache server to your ip address so your domian name will be your apache server. [/quote] To run DNS you have to have to [b]static[/b] ip numbers. If you have a dynamic ip that you will have to go through someplace like www.dyndns.com/ www.No-IP.com www.zoneedit.com or if you know someone that run a DNS server perhaps you can ask them if they will setup a host file for you.
  15. [quote] [quote] i have added below code to httpd.conf, but i could not restart the server. it says error. NameVirtualHost 111.22.33.44     <VirtualHost 111.22.33.44>     ServerName www.domain.tld     ServerPath /domain     DocumentRoot /web/domain     </VirtualHost> what is my error in this code? [/quote] It should look something like NamedVirtualHost your IP address <VirtualHost xxX.xxx.xxx.xxx>   ServerName domain.tld   ServerAlias www.domain.tld   ServerAdmin you@youremail.address   DocumentRoot /path/to/your/web/files     <Directory /path/to/your/web/files>         Order Allow,deny     </Directory>   </VirtualHost> Do not forget that the server will have to be restarted after making any changes to the httpd.conf file
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.