Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

newbie question about webpages

Name: Anonymous 2010-03-17 21:20

I don't want my site to end with .html or .php, how do I get the pages to end in a nice slash?

example: http://strobe.cc/quodlibot/

Name: Anonymous 2010-03-17 21:23

NO EXCEPTIONS.

Name: Anonymous 2010-03-17 21:24

Your websever can respond however it wants to a particular request. That is to say that a url path doesn't have to correspond to a filesystem path. The short answer for apache is to use mod_rewrite, but you'd get the same effect by making websites like the grown ups do: with web frameworks.

Name: Anonymous 2010-03-17 21:28

>>3
is that done by creating an 'apache handler'?

Name: Anonymous 2010-03-17 21:29

>>4

It's done by using google.

Name: Anonymous 2010-03-17 21:44

just make the directory "quodlibot" and put an index.html file inside it

Name: Anonymous 2010-03-17 21:45

>>6
Old school

Name: Anonymous 2010-03-17 21:54

so, for every single site out there who's webpages end in no url path of .html or .php such as iam.com/newb then they are either using mod_rewrite, a web framework (which sounds like you can't code to me, what does that mean?), or by using the oldschool method of putting an index file into a directory?

Name: Anonymous 2010-03-17 21:57

Hello friend.

Please get out, thanks!

Name: Anonymous 2010-03-17 21:59

>>8
You code in a web framework. Here's a simple excesize: using sockets and select in C produce a small server to service http requests. Good, now you can change the response that server gives based on whatever you want (eg cookies [=sessions], ip address, database), ie server side programming. You don't have to write your own server though, since existing servers + web frameworks will let you tie in your own code at the appropriate places.

Name: Anonymous 2010-03-17 22:00

>>8
Apart from that yes.

Name: Anonymous 2010-03-18 1:26

I'm sorry but the only way to accomplish this is by using Ruby on Rails

Name: Anonymous 2010-03-18 2:35

Use mod_replace on Apache, or a more decent web-server, now back to /g/.

Name: Anonymous 2010-03-18 5:46

>>10
Well, I prefer writing small HTTP servers in bash and getting them to work with nc, but that's me.

Name: Anonymous 2010-03-18 6:55

>>14
your supposed to always sage, get back to proggit

Name: Anonymous 2010-03-18 7:18

>>15
>your

Name: Anonymous 2010-03-18 7:27

>>16
u mad

Name: Anonymous 2010-03-18 12:56

>>15
age

Name: Anonymous 2010-03-18 14:13

>>17
u mad
Back to the imageboards, please

Name: Anonymous 2010-03-19 8:59

[b][i]u mad[/b][/i]

Name: Anonymous 2010-03-19 16:35

>>19
I'm inclined to say [/spoiler]Fuck off, ``faggot''[/spoiler], but in this case the "Back to the imageboards" is quite well justified.

Name: Anonymous 2010-03-19 16:40

>>21
[/b]BBCode failure[/b]

Name: Anonymous 2010-11-03 3:05


Don't change these.
Name: Email:
Entire Thread Thread List