1,520 Topics
| |
Can someone share the use of .htaccess and the sample of the code.. Is this .htaccess really usefull? :?: | |
Ok i got a problem, i want the domain directory default folder to have index2.php as default page, but i DO HAVE also index.php. so when i even visit mysite.com/index.php it only shows mysite.com/index2.php, enven entering it explicitlly this is my rule DirectoryIndex index2.php index.php (I have a reason to … | |
Ok i am running an apache server , on my window;s xp. For some reason i when i make a .htaccess file and put it into my www - dir its doesnt promt for a password or anything.! This is what i have for my .htaccess file AuthUserFile d:/www/.htpasswd AuthType … | |
Hello! I just made a LAMP server out of an old computer, Ubuntu 10.04. Everything is set up properly, or so I thought. Whenever I upload a file to the "public_html" folder via ftp, the permissions are reset so that it says "Forbidden" when I try to access it. Then … | |
Hi all I've searched everywhere on the internet including Daniweb for this answer but I can't find one. I don't want to break the rules, so I've changed the real domain name to domain.co.uk I manage a website [url]www.domain.co.uk[/url] where the owner requires a subdomain called quotes.domain.co.uk He then needs … | |
Hi all Not sure if im posting in the right section so sorry if i am. I have been looking for an open source asset/inventory solution for a friend. I came across Free CMMS on sourceforge.net and for ease of installation and testing installed the latest version of XAMPP as … | |
I have created my .htaccess file using notepad, its empty at the moment, im on windows. how do i upload it to my server? do i place the file inside my website directory or outside? and how do i test whether the whole process was successful or not? | |
[B]Environment[/B] Development: Amazon EC2 instance. Operational: Unknown at this time [B]Scenario[/B] This is a *nix question but things start out in php, so please bear with me. I'm trying to get php script (php_script_1) to to run another php script (php_script_2) in the background. This will allow php_script_1 to complete … | |
Hello, I am having trouble in starting apache. I had vista before and it worked well. Now I installed win 7, and have trouble. When I want to start, I get messages: Busy... Apache started [Port 80] I tried turning off skype, because it was causing problems often. But didn't … | |
Hi, I use .htaccess file to set user and pass for folder. I want when i click to link (with user and pass) to automatically log into site, without login form. How to generate that link www.site.com/?user&pass or how? Thanks | |
Hi i had a several reseller account in the past and all one the time one of the go hacked and completely mess up my stuff an put stupid pictures instead of my site. I tried everything from changing user name and pass putting something longer but dont know how … | |
I have a project made with jsp on a apache tomcat server. I also have intalled wamp server package for the purpose of using a data base made with phpmyadmin. I was wondering if i could also use php pages im my project. I learned that a posible way would … | |
Two applications, two different problems. Both of these applications worked perfectly in the test environment with SSL authentication turned off. Now that we've moved to a live environment, the applications can no longer connect to the client company's ActiveMQ messaging queue. using dlls from Spring.Net version 1.3.1. Connection string uses … | |
I have installed SQLPlus on my ubuntu 10.10 and now I want to install Oracle server.. I was following a tutorial on that and at the end of it, I got lost because I don't have access to certain files that were mentioned in the tutorial and I changed permissions … | |
Hi guys, I already know basic Redirect www to non-www, using htaccess: [QUOTE]RewriteEngine On RewriteCond %{HTTP_HOST} ^[url]www.yourdomain.com[/url] [NC] RewriteRule ^(.*)$ http://yourdomain.com/$1 [L,R=301] [/QUOTE] but how if we have parked domain too? I already tried this but its not works, its says "The page isn't redirecting properly" [QUOTE]RewriteEngine On RewriteCond %{HTTP_HOST} … | |
Dear All, I am currently using centos 5.5. My problem is for eg.I have user Adam. So when Adam logs in via SSH/SFTP I want to limit his view on the server folder meaning he can only see a certain limited folders. Any good tutorial for a newbie like me. … | |
I need to know what the specs would be for a server for a website of some auction type thing. Possibly something like beezid.com; it is not exact, but close to everything is the same principle. Then who should I go through to design this; I found some designers like … | |
hii.. i am using Opensuse 11.4 with two eth0 (192.168.0.59) and eth1 (10.230.56.1) and i don't want to configure client's browsers settings. and client is not able to access my another FTP server at 192.168.0.60. i configured /etc/squid/squid.conf as acl badsites1 dstdomain .facebook.com http_access deny badsites1 but it's still accessible … | |
Im getting a 403 forbidden error on my server. Server: MySQL 5.1 phpMyAdmin - 2.11.9.2 On my root directory I have a subfolder '/classifieds' During work using filezilla, I somehow moved the folder into another subfolder. I deleted it from that subfolder and reuploaded to the root directory. Now I … | |
Hey all, I tried to do a simple redirect from domain.com to [url]www.domain.com[/url] and being the noob that I am, I apparently caused some sort of lingering issue. Now anything with a / in it gets the slash removed. For example, a link to domain.com/blog goes to domain.comblog. I took … | |
What I would like to do is to create a repeating pattern inside a rewriterule. For example: RewriteRule ^([\w]+)/([\w]+)/(([\w]+)/([\w]+))*/?$ index.php?p=$1&s=$2(&$4=$5)* Breaking it down: On every page my ?p=BLA refers to a certain page, and every &s=BLA refers to a certain subpage. The rewriterule for this would obviously be: RewriteRule ^([\w]+)/([\w]+)/?$ … | |
I am working on drupal and i am using AuthName "Restricted Area" AuthType digest AuthUserFile /www/myproject/.htpasswd AuthGroupFile /dev/null <Files admin> require valid-user </Files> in htaccess and my htpasswd file contain admin:yYUhGhiABVJGI sanjay:aeGwcBYMSYUKc but I am unable to login. any suggestion | |
This is the first time I have ever tried to use mod_rewrite and have been stuck for a couple days. I am trying to change [url]www.mysite.com/example6.php?id=games[/url] to [url]www.mysite.com/example6/games[/url] Is this even achievable? Any advice will be very much appreciated! | |
Hi all, I am sorry if I have posted this in the incorrect place but I couldn't see an Apache section. I am working on some ReWrites and ReDirects in my htaccess file, my reason for doing this is because I am developing a new design and layout for an … | |
Hi! I can't say im familiar with the .htaccess file. I need to create a htaccess file that will redirect the user if he manually tries to open a .txt file on the server, or tries to download it (example if the user tries to navigate to [url]www.domain.com/users/username/bio.txt[/url], then he … | |
Hi, I just installed apache 2 and it is running. I have created two virtual hosts and I can browse them without problem. Even from other computer, mobile phone, using the IP, I can browse my index page. I registered in no-ip and hosted a subdomain to get rid of … | |
Hello, I had 4 dedicated server, and i wanna ask some question for the experts here. I have dating website, and i have a lot of activities, this activities send mails to the members: - A send to B messages, B get message to his mail. - A like B, … | |
Hi, I'm struggling to understand how to write script for Zeus web servers. I need to leverage browser cache images to get my Google page speed up. i know this is the code for .htaccess but Zeus is different: <IfModule mod_expires.c> ExpiresActive On ExpiresByType text/html "access plus 2 days" ExpiresByType … | |
I have an account in an mail server with email address eg. [email]amiyatulu@example.org[/email] but it does not allow sending more than 100 mails per day. Can I use postfix server to send mails on behalf of [email]amiyatulu@example.org[/email] | |
I am trying to build a store site. I want it to have friendly urls such as "/home","/store","/store/5443405", etc. I just cant figure out how to give my url more than one level. i.e. "/home" << one level "/store/5443405" << 2 levels. My php file looks like this right now … |
The End.