1,520 Topics

Member Avatar for
Member Avatar for diafol

Hi all. Am having a senior moment here. I have a htaccess file thus: Options +FollowSymlinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^/]*)/*([^/]*)/*([^/]*)/*([^/]*)/*([^/]*)/*$ index.php?lang=$1&top=$2&middle=$3&bottom=$4&sub=$5 [L] Which basically allows me to show http://www.mysite.com/cy/tgau/cemeg-1/ for http://www.mysite.com?lang=cy&top=tgau&middle=cemeg-1 That's all well and good. However, I'm getting real problems directing my forms to /includes/login.php This …

Member Avatar for cereal
0
229
Member Avatar for evandana

I need help getting the Apache POI set up correctly. I downloaded this file: [url]http://mirrors.devlib.org/apache/poi/release/bin/poi-bin-3.2-FINAL-20081019.tar.gz[/url] from poi.apache.org, and don't know what to do next? Where do I put this file? Are there other files I need to download? I hear talk of setting a "Classpath". What is this, and how …

Member Avatar for peter_budo
0
672
Member Avatar for mydreamgirl

I installed Apache Tomcat 7.0.28 in my JBuilder6. I use JDK 1.6.0_32 (jre6). I can get http://localhost:8080/ page. However, when I tried to run my JSP file, I encountered following error: org.apache.catalina.startup.Bootstrap start -config "C:\Documents and Settings\user\jbproject\whoznextdoor\conf\server8080.xml" -nonaming Jun 23, 2012 8:22:47 AM org.apache.catalina.startup.Bootstrap main WARNING: Bootstrap: command "-nonaming" does …

Member Avatar for peter_budo
0
145
Member Avatar for mits28

I am trying to learn JavaMail API.i am working on this.i have search much from google..i know for hosting mails, mail server is require and Apache james is a open source server.i have downloaded that.but i am not able to configure that.i dont understand how actualy javamail work with James.I …

Member Avatar for godzab
0
177
Member Avatar for Octet

I am attempting to host multiple sites on a single server by using virtual hosts however I am having a bit of an issue. A bit of info before I begin, -I am using Ubuntu Server 12.04 -I am using Apache2 -I have two domains and two sites, stored in …

Member Avatar for Octet
0
422
Member Avatar for Octet

I am attempting to setup virtual hosts so that I can host multiple sites on Apache2. I have currently got two files in my /etc/apache2/sites-available folder, each containing the following: <VirtualHost *:80> ServerName www.domain.com ServerAlias domain.com DirectoryIndex index.php DocmentRoot /var/www/domain </VirtualHost> Obviously the 'domain' changes to the domain for the …

Member Avatar for billconner
0
401
Member Avatar for opticblaze

Hi there, I got the following challenge. I have a site that is hosted on a windows 2010 server and i am trying to get the website to send emails. The site runs on Apache 2.2.9, PHP 5.2.6 and we set it up to run on port 6000. I have …

Member Avatar for Squidge
0
191
Member Avatar for Octet

I have been having some problems with my domain, when it reaches my server the address changes to my IP. I 'own' the domain, "www.domain.com" which is forwared to my router, my router then points it to my server and the pages are displayed e.t.c. Instead of displaying, "www.domain.com/index.php" it …

Member Avatar for JorgeM
0
265
Member Avatar for scottholmes

I'm in need of some htaccess syntax. I recently migrated a drupal 6 site to a drupal 7 site. The original site was located in a subdirectory, foo.foobar.com I now have several hundred links in such places as Facebook etc linking to this domain. I have an htaccess file in …

Member Avatar for JorgeM
0
157
Member Avatar for glenak

I was trying to use java's native Properties class to edit my ".properties" file and save them, but then I was put off by the fact that in order to do that I had to "store" the properties file by re-writing it back to disk, which simply erased all other …

0
96
Member Avatar for Patiodude

I recently converted all my website's files to .php, including my index.html and 404 page. Everything worked fine until I clicked a dead link, and no 404 page came up. Naturally, I figured I forgot to update the .htaccess file. After doing so and re-uploading it, every page on my …

Member Avatar for |-|x
0
248
Member Avatar for group256

I have an apache server running on Ubuntu server and I've plugged all my external hard disks to it and mounted them so I can access my files using apache file and folder listing. It's good enough for browsing through files and folders, but it's not efficient because I can't …

Member Avatar for tzakuk
0
168
Member Avatar for brugernavn

Hello :) Is it possible to host 500 heavy websites on a single apache installation? How many resource do i need to have? 16GB of ram? 3 Ghz cpu? Will it be a problem to "reload" the virtual host conf file? (if i reload it with: *apachectl -k graceful*) Best …

Member Avatar for rch1231
0
107
Member Avatar for Octet

Ok, so I have just set up a server using Ubuntu Server 12.04 but I have hit a bit of a brick wall when attempting to view webpages. I chown'ed the /var/www folder so I could add my files to it and all is working fine from this front but …

Member Avatar for here2serve
0
359
Member Avatar for bamous

# Apache does not start on XAMPP # I have installed XAMPP on XP PRO and I can not start apache when i press start, following message appears. **"Busy... apache started on port 80 WARNNG: terminating worker thread 0"** Please help.

Member Avatar for emclondon
0
186
Member Avatar for Awah Mohamed

hi guys, well i am using .htaccess in my website to make SEO friendly urls.. the urls are supposed to look like this: http://localhost/home or http://locahost/singup it is working nicely.. the problem is when i came to makin forms.. how should i submit my forms?? the .htaccess takes all the …

Member Avatar for Awah Mohamed
0
166
Member Avatar for Pityu

Hey there My issue is the following: I have a windows-based xampp-apache server with which I would like to make sub-sub domain redirects to subdirectory: I have a domain, for which on the cpanel I've made an A-record to my IP address: The sub domain is *.dev.bestudion.net. Whay I want …

Member Avatar for gtec
0
149
Member Avatar for kukula

Hi there, at the beginning I must admit that I am not good at PHP. I made a few websites in HTML but now I don't know what happened and what to do with it. I wanted to change a few things at [http://www.tips2.pl/](http://www.tips2.pl/) which is made in PHP. Everything …

Member Avatar for kukula
0
199
Member Avatar for saadi06

Hi, I am using opencart and I want to rewrite a url through htaccess. I have tried to rewrite the url but it redirects me to the "page not found" page. I have tried to rewrite the url using the following pattern RewriteRule product/detail/(.*)/$ /index.php?route=pro/det&photo_id=$1 Please help. Thanks in advance.

Member Avatar for Dani
0
197
Member Avatar for avestavik

Hello. Can someone tell me if there is possible to get localhost:8000 -> localhost/admin This is on a ubuntu 12.04 with lamp.

0
160
Member Avatar for dantheman50_98

Hi There, I'm building a site using opencart and every page on the site has an seo-friendly url except for one, which is the main page of the blog. The url for this is: /index.php?route=blog/category/home/index.php I'd like this to be just plain old /blog but I can't seem to get …

0
93
Member Avatar for sasa.spurmanis

Hi everyone, I'm new to the forum and relatively inexperienced at web publishing as well. I'm currently administering the following website: [url]http://latmont.org/[/url] I've set up the website to work with an external CSS style sheet that is linked from the header in each web page. The style sheet was created …

Member Avatar for DaveTheSinger
0
342
Member Avatar for jonow

By using the `.htaccess` file, I can make any missing image on a page be replaced with a default ‘not found’ image. However, when this is done the replacement ‘not found’ image is stretched to the dimensions of the original missing image. I was wondering if anybody has a solution …

Member Avatar for diafol
0
135
Member Avatar for baig772

i have following .htaccess RewriteEngine On DirectoryIndex index.php RewriteRule ^([a-zA-Z0-9_-]{3,20})/([^/]+)/([^/]+)?$ index\.php?page=$1&s=$2&o=$3 [L] RewriteRule ^([a-zA-Z0-9_-]{3,20})/([^/]+)?$ index\.php?page=$1&s=$2 [L] RewriteRule ^([a-zA-Z0-9_-]{3,20})/?$ index\.php?page=$1 [L] RewriteRule ^([a-zA-Z0-9_-]{3,20})?$ index\.php?page=$1 [L] ErrorDocument 404 /404 it displays mu url as localhost/mysite/home for first perimeter and its going fine but when my url is localhost/mysite/home/user, whole look of page …

Member Avatar for pritaeas
0
106
Member Avatar for shahbaz13

I need to convert this code to web.config file. Plz Help.. #Fix Rewrite Options -Multiviews RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d Rewriterule ^(.*)$ $1.php [L,QSA]

Member Avatar for shahbaz13
0
214
Member Avatar for bhallarahul

hello everyone i have wrote a code but it shows [B]"org.apache.tomcat.dbcp.dbcp.SQLNestedException:"[/B] error org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1150) at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880) at listener.MyContextListener.contextInitialized(Unknown Source) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at …

Member Avatar for bhallarahul
0
359
Member Avatar for bhallarahul

hello frnd i am wriing program on in which i try to connect mysql with servlet but it gives error here is my code [CODE] [B]Test.java[/B] package my; import java.io.IOException; import java.sql.Connection; import java.sql.SQLException; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.sql.DataSource; …

Member Avatar for bhallarahul
0
1K
Member Avatar for samidha

Hey friends, I have installed 2.2.22 version of apache which I think is not completely compatible with windows, because after configuring http.conf file for php and also configuring v-host , it doesn't work properly. I have used .msi installer with ssl compatibality from apaches authorised website. Please give suggestion if …

Member Avatar for SQLpower
0
85
Member Avatar for slyme

Hi All, I have inherited a web site which is really a bit beyond me ... there's no option though, I've got to figure it out, so ... The whole site uses Apache/Python/Django/Satchmo. I want to set up a sub-domain which uses a simple Apache/PHP set up. I'm guessing that …

Member Avatar for slyme
0
200
Member Avatar for newbie14

Dear All, I have a system with the web server(apache) and db(mysql) server install on separate machines. So at times when the traffic is high I can not access my system. So first I would like to know where is the error and where is the error log file will …

Member Avatar for No woman No war
0
380

The End.