3,436 Topics

Member Avatar for
Member Avatar for rob_hartley

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 …

Member Avatar for rob_hartley
0
245
Member Avatar for poopoo_pp

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 …

Member Avatar for pritaeas
0
405
Member Avatar for opjjuly

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?

Member Avatar for pritaeas
0
188
Member Avatar for bowmaster

this is a page of code on a Apache Tomcat server the error i get is the following : Eror :licenta\upload\Tulips.jpg (The system cannot find the path specified) project path is : ROOT\licenta [CODE]<%@ page import="java.io.*" %> <%@ page import="java.lang.*" %> <%@ page import="java.sql.*" %> <%@ page import="java.util.*" %> <%@ …

Member Avatar for bowmaster
0
324
Member Avatar for mrhankey

hi, what is the best password encryption to use on a website with mysql backend? i have used md5 and sha1 in the past however which is best? crypt? â—¦RJINDAEL ? what is best to use? they wont be recovering the password only sent a new password if forgotten. so …

Member Avatar for Stefano Mtangoo
0
149
Member Avatar for khess

Programming in PHP is fun and easy. It is a very powerful scripting language that takes simple HTML and turns it into a fully-interactive experience for the web user. Let's get started! Note: These tutorials assume that you have a working web server that's capable of displaying PHP code and …

Member Avatar for cwarn23
-8
1K
Member Avatar for syeda amna

hi Is this possible to send a request to servlet from socket client? I use request.getInputStream method to get client request. I got an error HTTP/1.1 400 Bad Request Server:Apache-Coyoyte/1.1 Transfer Encoding:chunked Date:Fri,04 Nov 2011 Connection:close How can I achieve my task??

Member Avatar for syeda amna
0
191
Member Avatar for ghost135

SO ive searched the web for a tutorial on a simple ftp server and client made in Java and have only been able to find ones that show you how to make a ftp client for apache , however i want to make a ftp server in Java as well …

Member Avatar for NormR1
0
181
Member Avatar for Airshow

[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 …

Member Avatar for Airshow
0
404
Member Avatar for McLaren

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 …

Member Avatar for McLaren
0
3K
Member Avatar for Juicyjuice

[CODE]import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.methods.PostMethod; public class sslRequest { public void run(){ String url = "https://pipeline.sbcc.edu/cp/home/login"; try { HttpClient client = new HttpClient(); //client.getParams().setParameter("http.protocol.single-cookie-header", true); // client.getParams().setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY); PostMethod method = new PostMethod( url ); // Configure the form parameters method.addParameter("user", "username" ); method.addParameter("pass", "password123" ); method.addParameter("uuid", "********-f08d-4d64-aeef-************"); // Execute the POST …

0
161
Member Avatar for [csharp]

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

Member Avatar for joehms22
0
83
Member Avatar for eltonpiko

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 …

Member Avatar for joehms22
0
186
Member Avatar for Pravinrasal

When I run my program following is my program: public class JasperReportsDemoApp { String reportSource = "c://report1.jrxml"; String reportDest = "c://HelloReportWorld.html"; public JasperReportsDemoApp() { Map<String, Object> params = new HashMap<String, Object>(); params.put("reportTitle", "Hello Report World"); // params.put("author", "Craig Conover"); // params.put("startDate", (new java.util.Date()).toString()); // params.put("reportTitle", "Hello Report World"); // params.put("author", …

0
117
Member Avatar for bowmaster

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 …

Member Avatar for bowmaster
0
254
Member Avatar for mementomori

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 …

Member Avatar for mementomori
0
2K
Member Avatar for shack99

Hello all, I'm trying to read an ant script through java and find where all its .java files and libraries are located. I've gone through the Apache ant API but couldn't find an appropriate method. So far all I could come up was the below code, it gives the properties …

Member Avatar for peter_budo
0
293
Member Avatar for gingerfish

i have these two separate files: html form: [CODE]<form name="form" action="1.jsp" method="post"> <b>File Upload:</b> <input type=file name="seqFile"> <input type=submit name="submit" value="submit" > </form> [/CODE] and JSP file 1.jsp: [CODE]<%@ page language="java" import="java.io.*" errorPage="" %> <% if(request.getParameter("seqFile")!=null){ //"C:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps/ROOT/test/seq.txt" String file = request.getParameter("seqFile"); FileReader testRead; testRead = new …

0
77
Member Avatar for KLMKLMKLM

WHAT in Heaven's name is a "T_STRING?" Nowhere do I see a definition of T_STRING, or why it is called T_something. From what I've been able to piece together, it might be an unquoted string. I have a [CODE]Parse error: syntax error, unexpected T_STRING in /home/xxxxxxxx/public_html/include/mmeetingDate.php on line 10[/CODE] Since …

Member Avatar for Stefano Mtangoo
0
269
Member Avatar for rotten69

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 …

Member Avatar for rotten69
0
182
Member Avatar for basketmen

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} …

Member Avatar for jino
0
157
Member Avatar for arooney

Hi, I'm on an Apache server. I'm trying to create a permanent redirect of an entire website to a single page on the new site. I'm using this: Redirect 301 / [url]http://www.cvm.org.uk/wales/index.php[/url] Redirect 301 /links.php [url]http://www.cvm.org.uk/wales/index.php[/url] The first line works fine for the index.php page of the site. The second …

Member Avatar for Tiggerito
0
243
Member Avatar for harinath_2007

My Tomcat server 6.0 doesn't start . I have windows xp. I also tried executing from command prompt by going to bin folder. Still the same problem. The log file is as follows.. [2011-10-23 13:22:27] [info] Procrun (2.0.3.0) started [2011-10-23 13:22:27] [info] Service Tomcat6 name Apache Tomcat [2011-10-23 13:22:27] [info] …

Member Avatar for Seten
0
1K
Member Avatar for newbie14

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. …

Member Avatar for newbie14
0
230
Member Avatar for mah300274

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 …

Member Avatar for mah300274
0
196
Member Avatar for anandnenwani

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 …

0
116
Member Avatar for c-tech

Hi everyone, Please assist with this issue that I'm having. I am trying to create a simple web interface to allow me to send sms's from a browser window. I am using gammu ([url]http://wammu.eu/[/url]). I am able to execute the code below when using the php cli on the linux …

Member Avatar for c-tech
0
506
Member Avatar for 68thorby68

I'm using PHP 5 and apache 2.2 on XP prof, but did not install zip extension during the initial php/apache installation. I have downloaded and extracted Pecl-5.16-win32zip package and extracted the contents (including php_zip.dll) to c:\PHP\ext. I have also amended the php.ini and included the line extension=php_zip.dll I have checked …

Member Avatar for rajibmaity
0
2K
Member Avatar for Inny

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 …

Member Avatar for rch1231
0
262
Member Avatar for xylude

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 …

Member Avatar for rch1231
0
100
Member Avatar for Inny

Using an apache webserver, im currently redirecting hotlinks to a certain image. [code]<IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?camosreptiles.com.au/ [NC] RewriteCond %{HTTP_REFERER} !google\. [NC] RewriteCond %{HTTP_REFERER} !search\?q=cache [NC] RewriteRule \.(jpg|jpeg|png|gif)$ http://i14.photobucket.com/albums/a345/Instar/nedry2.gif [NC,R,L] </ifModule>[/code] What id like to do, is redirect to a certain page (my own domain) …

Member Avatar for Inny
0
118
Member Avatar for ceyesuma

Hello. I was trying a new apache derby SQL prepardstatement to send numbers incremented form one into three tables. if it find the number in any of the tables than it is not the number I need to create the next primary key in my payment table. I am not …

0
56
Member Avatar for minitauros

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]+)/?$ …

Member Avatar for cwarn23
0
120
Member Avatar for ceyesuma

Hello all. In my Apache derby db I set up Decimal data types like this: [code] admin_pay_rate DECIMAL(5,2), [/code] I use JFormattedTextFields to filter decimal usage in text fields concerning money Like admin pay rate would be 150.00: this is good. In the JFormattedTextField it will allow 1,000.00 but the …

Member Avatar for mKorbel
0
209
Member Avatar for jaykool74

Using NetBeans IDE 7.0.1 with Java SDK 1.7.1 and Glassfish 3.x: I am trying to load an ArrayList from a database in the Servlet to be used on the JSP page in a dropdown box that would show stock symbol and company name. I get the following message when trying …

Member Avatar for jaykool74
0
5K
Member Avatar for linuxaomi

Using LINUX MINT along with XAMPP seems to be a perfect combination. As I am monitoring most of relevant aspects from different fields (PHP, apache, MySQL, disks, network amm.) there is a question from my side regarding interrupts: [ICODE]cat /proc/interrupts[/ICODE] Why so many RES rescheduling interrupts ? I am complaining …

Member Avatar for linuxaomi
0
1K
Member Avatar for sdjewani

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

Member Avatar for cwarn23
0
89
Member Avatar for wimmer

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!

Member Avatar for somedude3488
0
224
Member Avatar for vishalonne

[B]Here is the [COLOR="Red"]Oracle[/COLOR] site from where [/B]I tried to learn JSP [URL="http://192.9.162.55/products/jsp/html/jspbasics.fm2.html"]http://192.9.162.55/products/jsp/html/jspbasics.fm2.html[/URL] But after following all th instructions and creating folders as per site I got a big error- HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it …

Member Avatar for peter_budo
0
286
Member Avatar for mingis

Newbie question sorry! I have read the documentation on apache.org and I understand the basics, but the way rules interact with each other is confusing me! I have the following .htaccess file, it checks whether a file or directory exists and ignores it if it does (because the page can …

Member Avatar for decade
0
117
Member Avatar for AdriftUniform

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 …

Member Avatar for AdriftUniform
0
196
Member Avatar for wavyaquaeyes

HELP- I need to view my php files in the browser. I am running Apache server. I know only this much to put in the browser [URL]http://localhost/[/URL] /filename.php thanks

Member Avatar for dineshnbhatia
1
20K
Member Avatar for kaizokupuffball

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 …

Member Avatar for diafol
0
124
Member Avatar for BirdaoGwra

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 …

Member Avatar for skilly
0
214
Member Avatar for sammeras

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, …

Member Avatar for sammeras
0
312
Member Avatar for dangari

My query below has been working okay for 1 year now and suddenly it is giving an exception: [CODE] (SELECT distinct(R.imei),R.mobile,S.msg,S.reply,M.model, left(S.receiveTime,10) as receiveDate, right(S.receiveTime,8) as receiveTime,'' as 'Reason' from dbSAMSUNGmain.tREGDATA R,dbSAMSUNGmain.tMODELS M,dbSAMSUNGmain.tSMS_TRANSACTIONS S where S.mobile=R.mobile and replace(replace(S.msg,'/',''),' ','') LIKE concat('%',R.imei,'%') and (S.reply like '%Registration successful%' || S.reply like '%Reg …

Member Avatar for mickjsn
0
297
Member Avatar for new_2_java

Hi all, I am trying to compile a servlet, and am getting the following error. [code] C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\flatironswp1\WEB-INF\classes>javac export\ExportUtil.java export\ExportUtil.java:5: package javax.servlet.http does not exist import javax.servlet.http.*; ^ [/code] and here's my code: [code] package export; import java.io.*; import javax.servlet.http.*; import javax.servlet.*; public class ExportUtil extends HttpServlet …

Member Avatar for Taywin
0
4K
Member Avatar for Jimbest

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 …

0
164
Member Avatar for sunny124

Hi, I can't access shtml files on my local Apache 2.2 server. I can access html files but not shtml files. It outputs all html code in browser when I try to access it. [CODE] <html> <head> <title>Test File</title> </head> <body> <h1>Test</h1> </body> </html> [/CODE] Is there any settings that …

0
83
Member Avatar for jigglypuff13

I am having problems running a JSP with a java class file on a Tomcat server. My files are located at: tomcat/webapps/ROOT/temp.jsp tomcat/webapps/ROOT/WEB-INF/classes/tempbeans/TempBean.class The contents of my JSP file: [CODE]<%@ page import="tempbeans.*" %> <% TempBean bean = new TempBean(); %>[/CODE] The contents of my class file. package tempbeans; [CODE] package …

Member Avatar for javaAddict
0
381

The End.