3,436 Topics
![]() | |
Hi all, Does somebody know how to configure the PATH for the wwwrun apache user? I have two perl version installed (in /usr/bin/ and in /usr/local/bin) and apache continues to use the (/usr/bin version) which is outdated! Many thanks, Sylvain | |
This script works perfect it forces the trailing slash and hides the .php extension BUT! it does not redirect people going directly to the .php extension. How can I also force people going directly to the file.php to /file/ [CODE] RewriteEngine On RewriteRule ^(.*)/$ /$1.php [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond … | |
When I try to access the /var/www/ folder through apache, which is at [url]http://tom-server/[/url] from my Windows Machine, I get this error, even though it was working before with no changes: [code]Forbidden You don't have permission to access / on this server. Apache/2.2.14 (Ubuntu) Server at tom-server Port 80[/code] This … | |
I have a java app that used to use a property and I am not sure with the changes I've made to the class path how to find the driver. I thought I was using the exact same installation but I can't find the driver. Can someone please tell my … | |
hello all i am already having one domain name also having a hosted email services for that domain [domain.com] but now i want to setup one more email account services with on same domain in this format [in.domain.com]. it is possible to have a sub domain poiniting to some different … | |
When I try to start mysql server with [icode]start mysql[/icode], I get this error: [icode]Unable to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory[/icode] What could I do to fix it? I'm running Ubuntu Server btw. | |
hi, are there any issues of using a php script that sends via a dedicated linux box to an address from an email address different from the domain on this box? so for example domain is: mydomain.com on dedicated box, someone comes to the site and sends an email to … | |
Hi, everyone! I'm having grave difficulties with generated JAR bundles from Maven OSGI plugin in Netbeans. When running the bundle from Netbeans, all works fine. But when I'm taking the generated JAR file from Maven and I'm using it outside Netbeans from command prompt and with Felix (java -jar bin\felix.jar, … | |
I'm building a portal system for my company and need someway of grabbing the windows username of the person logged on accessing the portal. Setup... Apache & PHP on Windows. This is VITAL so any help is MUCH appreciated. I've tried echo $_SERVER['REMOTE_ADDR']; - returns IP, not username echo $_SERVER['AUTH_USER']; … | |
hi... i used the following links to download apache n php compiler/interpretor....but find no exe file or setup in downloaded folder... plz anybody give me the exact link by clicking whixh i could download the folder with exe files of both.... [url]http://www.php.net/downloads.php[/url] [url]http://httpd.apache.org/download.cgi[/url] | |
I was following this tut. on how to install Apache, PHP, Mysql, and PHPmyadmin. I need a bit of help! I get a [B]"Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\mysql_test.php on line 15"[/B] everytime I test the mysql thing. What ive … | |
When I try to log into mysql with the command [icode]mysql -u root -p[/icode], i enter the password then it gives me the error: [code] ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/usr/sbin/mysqld/mysqld.sock' (20) [/code] I really don't know why it's trying to use '/usr/sbin/mysqld/mysqld.sock' because … | |
I am having a problem with running my Derby embedded db. I have to set the path and I tried the following commands. the first one is wrong and I would like to learn how to remove it.please. the other ones do not seem to work . I have a … | |
Ok guys I'm getting trouble with my php echo command. All the codes after the first echo command, displaying in browser. I mean i have problem with my php echo. I tried in several scripts. I'm using wampserver 2.0. I've given the example of my error. Please solve it ASAP. … | |
I've written a C# app in Visual Studio 2008 C# Windows forms which fetches the text html from a webpage and it works fine in most cases. I needed the multipart/form data, as the main interest is sending text queries back and forth from a test server in Visual Studio. … | |
Hello, everyone! I'm not able to access a WSDL file on a remote machine. I am using DOSGI and I'm creating a service in a OSGI bundle. My container is Apache Felix. DOSGI takes care of exposing a OSGI service as Web services. DOSGI publishes a WSDL at [url]http://localhost:9595/prototype1Service?WSDL[/url] on … | |
Hi all, I m newbie in .htaccess i am using .htaccess to make url SEO friendly. I can access admin in localhost of my pc. but when i put all this files to my server i can't access admin. it shows me white blank page. without any message or error. … | |
Delphi has been always a preferred technology to develop desktop based applications, but now we can develop browser based application using Delphi component. Benefits: Transition to browser based easily using Delphi coding Easy debugging Ajax Techniques Full cross-browser applications We can host it on Apache If you are you looking … | |
environment variable1: %JAVA_HOME%\bin;%JC_HOME%\bin;C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\servlet-api.jar; environment variable2: C:\j2sdk1.4.1_07 hav 2 submit few progrms at college using servlets...n getting the errors mentioned abov...plzzzzzz hellllllppppppppp.... | |
i am trying a case statement that will input different results based on the town a user enters in a form .the code in the form is [CODE]<html> <body> <form action="relay.php" method="get"> town:<input type="text" name="town" /> <input type="submit" /> </form> </body> </html [/CODE] while that one for case is [CODE] … | |
Hello! I just want everyone to know that I'm a linux beginner and have just started learning beyond the very basics. The problem I'm having is that only one account can access the shared folders (and it's not root) and I've been searching the internet like crazy but still haven't … | |
Hello, I have a server that I have decided to divide into VM's using HyperVM with OpenVZ, so that some friends can play around on the server and that I can have several Linux distros on one server. I am wondering if I should install nothing on the host other … | |
![]() | Sorry if this is in the wrong section (PHP), but wasn't sure where to put htaccess issues.... Here's the deal - I have two domains, let's say domain1.com and domain2.com. On my web server, I have domain1 set up as the primary domain (/public_html/), and domain2 is an addon domain … |
hey people i have installed the apache server but i dont know how to let it work ths iz the file name that i have installed [U]httpd-2.0.63-win32-src[/U] please dont tel me that i have to download another server or something just tell me what i am supposed to do . … | |
Before i start learning php, many sites like phpBuddy say to donload php installer, Apache server and MySQL. So simply i want to know what is the use of web server and MySQl.More importantly, Also tell me how to use them correctly. If possible provide me lnks from where i … | |
Hi, I'm a web developer and wanted to try ruby. I installed ruby 1.8 on my debian server with eruby and mod_ruby for apache2. Apache config files are configured correctly to accept .rhtml files and parse them. If I type sth like <% print "Test" %> then there's no problem, … | |
[url]http://portals.apache.org/jetspeed-2/[/url] how can help built my towns web-index? | |
Hi everyone. Im trying to upload a file to an ftp server. I found this code in the internet but its not working for me. Can anyone please tell me where the error is?? This is my code [code]import java.io.*; import org.apache.commons.io.FileUtils; import org.apache.commons.net.ftp.FTP; import org.apache.commons.net.ftp.FTPClient; import org.apache.commons.net.ftp.FTPFile; public class … | |
Hello. I am trying to get the correct code in order to get specific content shown according to the current site the visitor is on. I have done two tests: [CODE=php] <!--START TEST 1--> <?php class address { function curPageURL() { $pageURL = 'http'; if ($_SERVER["HTTPS"] == "on") {$pageURL .= … ![]() | |
Hello everyone! When I'm starting a OSGI bundle in my Apache Felix container, I have a ClassNotFoundException. This is the output that I have: [CODE] start file:/C:/Users/Pierre-Alexandre/Documents/NetBeansProjects/Prototype1/src/Prototype1Client.jar 23-Sep-2010 10:43:12 AM org.apache.cxf.dosgi.discovery.local.LocalDiscoveryService bundleChanged INFO: bundle changed: null 23-Sep-2010 10:43:12 AM org.apache.cxf.dosgi.discovery.local.LocalDiscoveryService bundleChanged INFO: bundle changed: null 23-Sep-2010 10:43:12 AM org.apache.cxf.dosgi.discovery.local.LocalDiscoveryService bundleChanged … | |
Hi.. i need to learn how to send the username and password to the database and when the user logs in it should retrieve the password from the database and authenticate if the username and password is correct. Am using this jsp code and getting error in (Resultset line) [U]here … | |
I have an IIS7.5 server installed on my laptop. I'm learning C#, XML, XSLT, .NET, Visual Studio 2005, 2008, 2010 and Microsoft Expression Web. I am the webmaster on a simple PHP website that I inherited. I figure I ought to learn PHP, but figure I also need to install … | |
Hi everyone, I am trying to write a code that receives an input from textarea, transfer that input to servlet and send an email with that input using javamail API. It seems that the codes work fine with english characters, but it doesn't work with non-english characters (i am using … | |
Hi, I am also having an ONLINE ENROLLMENT SYSTEM and having a problem with coding.. I am a returnee student and more programming languages has been adapt... Using php, apache, mysql, html, javascript, css etc... I am confused especially in php query.. can anyone help me here, i don't have … | |
Hi All I want to develope a jsp page which skip Jasper server login page and forward at jasper home page without login. i also dont want to sho my URL in brouser. both Jasper and my jsp contain in apache webapps folder.i did it by [CODE]<jsp:forward page="/jasperserver/login.html"> <jsp:param name="j_username" … | |
Helo. How can I change my upload temp directory in Plesk, because in default temp dir I'm mot allowed to upload files. Any help is appreciated. | |
Hi, I am pretty new to this scripting language. I have just installed the following s/w packages in my system via XAMPP. >php >MySQL >Apache Next,I started writing a basic script in notepad and saved it as "hello.php" My question is where to run this script, either in the Command … | |
Hello Friends. I want to install Tomcat and struts into my system. I hava downloaded apache-tomcat-7.0.2 , unpacked it. i dont know how to install it. I did as instucted in the RUNNING.txt. But i am unable to run Tomcat server. Please help me.. | |
Hi all, Just installed PHP 5.2.6 on SLES11. I have editted php.ini to try and turn error reporting on, but it's not turning on (I have restarted apache2). At the moment, I'm using php in cli to debug which is getting a bit stale... Here's a section of my php.ini … | |
hi there, I'm having a problem with mysql, php and phpmyadmin 1. MySQL will not start as a Server Service, on Windows XP - when installing goes through process and tells me it cannot start as a service, and then tells me mysqld.exe will close, is there anything I can … | |
Hello, everyone! I am unable to start a OSGI bundle. I'm using Apache Felix and this is my bundle: 1) Activator.java [code=java] package Example2; import java.util.Properties; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; import Example2.Service.IDictionaryService; /** * This is the bundle. * @author Pierre-Alexandre * */ public class Activator implements BundleActivator { public … | |
[B]Html1 code:[/B] [code=html]<html> <HEAD> <title> Employee Login Page</title> <BODY> <H1> EMPLOYEE LOGIN PAGE </H1> Enter User name: <input type=text > Enter password: <input type =password> Enter Employee id: <input type=text > <form method="Post" action="http://localhost:8080/sonu1/ServletOne"> <input type=submit value=Login!> </form> </body> </html>[/code] [B]ServletOne.java code:[/B] [code=java]import java.sql.*; import java.io.IOException; import javax.servlet.*; import javax.servlet.http.HttpServlet; … | |
Please, help me build a web server. For more information, please visit: SNIP | |
Hey guys.. I'm working on one project which is in directory - [QUOTE]C:\Tomcat 6\webapps\ROOT\cart[/QUOTE] This is the code in file called shop.jsp [CODE] <%@ page language = "java" contentType = "text/html" import = "ShoppingBasket, Product, java.sql.*" errorPage = "errorpage.jsp" %> <html> <head> <title>Welcome to Shop</title></head> <body> <table width = "385" … | |
Any one could help me where to download IIS? as i wanted to use it as my webserver for my incoming web development project. Does IIS have the same functions with apache server? Mar... | |
Hijackthis! Report . Logfile of Trend Micro HijackThis v2.0.4 Scan saved at 12:33:16 AM, on 29/8/2010 Platform: Windows 7 (WinNT 6.00.3504) MSIE: Internet Explorer v8.00 (8.00.7600.16385) Boot mode: Normal Running processes: C:\Windows\SYSTEM32\WISPTIS.EXE C:\Program Files\Common Files\microsoft shared\ink\TabTip.exe C:\Windows\system32\Dwm.exe C:\Windows\Explorer.EXE C:\Program Files\Synaptics\SynTP\SynTPEnh.exe C:\Program Files\Motorola\SMSERIAL\sm56hlpr.exe C:\Program Files\TortoiseSVN\bin\TSVNCache.exe C:\Program Files\Synaptics\SynTP\SynTPStart.exe C:\Windows\WindowsMobile\wmdc.exe C:\Program Files\Synaptics\SynTP\SynTPHelper.exe C:\Program … | |
hi to all, I would like to transform one of my systems as a mail server for the intranet people of my group. *=>[COLOR=DarkGreen]What should be the configuration for a optimum mail server.[/COLOR] *=>We have a LAN and myself set up a web server for learning php.Can the mail server … | |
Hi all, I have a site that has a dynamically generated page and looks like this: [url]www.example.com/articles.php?aid=1[/url] [url]www.example.com/articles.php?aid=2[/url] [url]www.example.com/articles.php?aid=3[/url] The page has the article title and description stored in a database and printed in the page itself. How do I go about changing the URL from this: [url]www.example.com/articles.php?aid=1[/url] To this: … | |
this error was displayed after i package and deployed my jsp file. i dont know any help? [CODE] HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP … | |
hi, i have never used a dedicated linux server, however i am going to be switching one of our sites from shared hosting to a dedicated server due to traffic etc. the host is giving cpanel which i just wanted to check with you guys if this is fine to … |
The End.